diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-23 11:18:30 -0500 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-24 14:15:16 -0500 |
| commit | 2ce7e4e8a7cba701685ab8413153157510d18da3 (patch) | |
| tree | ef6bae7cb718939719922bb2b011d340a57b8575 /runtime/scripts.vim | |
| parent | 69103ff0cf9e23e4f003c9f22f482b3d52bf7892 (diff) | |
| download | rneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.tar.gz rneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.tar.bz2 rneovim-2ce7e4e8a7cba701685ab8413153157510d18da3.zip | |
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)
https://github.com/vim/vim/commit/402115f1c2b4d0704a822206f2e6e931e721c129
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 536993d485..3b3409bf4b 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 |