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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220616122917.DF9A31C2341%40moolenaar.net.