diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-22 20:55:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-22 20:55:04 +0100 |
commit | 402115f1c2b4d0704a822206f2e6e931e721c129 (patch) | |
tree | 6942a3220532e5336d80dab93c9ffd6c54a49779 /runtime/scripts.vim | |
parent | 0d3de8cb590aed90be71d96eb3dbc6addf80bb11 (diff) |
patch 8.2.2392: fennel filetype not recognizedv8.2.2392
Problem: Fennel filetype not recognized.
Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
Diffstat (limited to 'runtime/scripts.vim')
-rw-r--r-- | runtime/scripts.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 9217b4416a..6448c542cb 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -186,6 +186,10 @@ if s:line1 =~# "^#!" elseif s:name =~# 'instantfpc\>' set ft=pascal + " Fennel + elseif s:name =~# 'fennel\>' + set ft=fennel + endif unlet s:name |