To: vim_dev@googlegroups.com Subject: Patch 8.2.1476 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1476 (after 8.2.1474) Problem: Filetype test fails on MS-Windows. Solution: Remove "^" from pattern. Files: runtime/autoload/dist/ft.vim *** ../vim-8.2.1475/runtime/autoload/dist/ft.vim 2020-08-17 21:16:29.261650308 +0200 --- runtime/autoload/dist/ft.vim 2020-08-17 21:52:41.303824969 +0200 *************** *** 575,581 **** let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*' func dist#ft#FTRules() let path = expand(':p') ! if path =~ '^/\(etc/udev/\%(rules\.d/\)\=.*\.rules\|\%(usr/\)\=lib/udev/\%(rules\.d/\)\=.*\.rules\)$' setf udevrules return endif --- 575,581 ---- let s:ft_rules_udev_rules_pattern = '^\s*\cudev_rules\s*=\s*"\([^"]\{-1,}\)/*".*' func dist#ft#FTRules() let path = expand(':p') ! if path =~ '/\(etc/udev/\%(rules\.d/\)\=.*\.rules\|\%(usr/\)\=lib/udev/\%(rules\.d/\)\=.*\.rules\)$' setf udevrules return endif *** ../vim-8.2.1475/src/version.c 2020-08-17 21:40:59.096286452 +0200 --- src/version.c 2020-08-17 21:55:05.818915071 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1476, /**/ -- hundred-and-one symptoms of being an internet addict: 228. You spend Saturday night making the counter on your home page pass that 2000 mark. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///