mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 11:27:26 +10:00
vim-patch:8.2.2392: fennel filetype not recognized
Problem: Fennel filetype not recognized.
Solution: Detect with pattern and hashbang. (Chinmay Dalal, closes vim/vim#7729)
402115f1c2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user