commit | bf6614643f656d38d220c04befdcb1d35774853a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 16 13:27:18 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 16 13:27:18 2022 +0100 |
tree | 248bb76d0a6f8ee1089f9869c4be08f197b13920 | |
parent | 7a1d32809bb5c1527314000983e75125d79192e0 [diff] [blame] |
patch 8.2.5110: icon filetype not recognized from the first line Problem: Icon filetype not recognized from the first line. Solution: Add a check for the first line. (Doug Kearns)
diff --git a/runtime/autoload/dist/script.vim b/runtime/autoload/dist/script.vim index b926f31..86070a0 100644 --- a/runtime/autoload/dist/script.vim +++ b/runtime/autoload/dist/script.vim
@@ -189,6 +189,10 @@ elseif name =~ 'gforth\>' set ft=forth + # Icon + elseif name =~ 'icon\>' + set ft=icon + endif enddef