Patch 8.2.5110
Problem: Icon filetype not recognized from the first line.
Solution: Add a check for the first line. (Doug Kearns)
Files: runtime/autoload/dist/script.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.5109/runtime/autoload/dist/script.vim 2022-02-13 20:31:20.849858637 +0000
--- runtime/autoload/dist/script.vim 2022-06-16 13:24:39.413350611 +0100
***************
*** 189,194 ****
--- 189,198 ----
elseif name =~ 'gforth\>'
set ft=forth
+ # Icon
+ elseif name =~ 'icon\>'
+ set ft=icon
+
endif
enddef
*** ../vim-8.2.5109/src/testdir/test_filetype.vim 2022-06-03 18:40:49.295007378 +0100
--- src/testdir/test_filetype.vim 2022-06-16 13:24:39.413350611 +0100
***************
*** 718,723 ****
--- 718,724 ----
\ 'routeros': [['#!/path/rsc']],
\ 'fish': [['#!/path/fish']],
\ 'forth': [['#!/path/gforth']],
+ \ 'icon': [['#!/path/icon']],
\ }
" Various forms of "env" optional arguments.
*** ../vim-8.2.5109/src/version.c 2022-06-16 13:04:15.342344496 +0100
--- src/version.c 2022-06-16 13:25:40.557163344 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5110,
/**/
--
The most powerful force in the universe is gossip.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///