patch 8.2.2392: fennel filetype not recognized

Problem:    Fennel filetype not recognized.
Solution:   Detect with pattern and hashbang. (Chinmay Dalal, closes #7729)
This commit is contained in:
Bram Moolenaar
2021-01-22 20:55:04 +01:00
parent 0d3de8cb59
commit 402115f1c2
4 changed files with 11 additions and 0 deletions

View File

@ -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