vim-patch:8.2.2334: Pascal-like filetypes not always detected

Problem:    Pascal-like filetypes not always detected.
Solution:   Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
            closes vim/vim#7662)
a0122dcd1c
This commit is contained in:
Jan Edmund Lazo
2021-01-13 09:37:15 -05:00
parent bd02e29443
commit d953614e72
4 changed files with 59 additions and 4 deletions

View File

@@ -182,6 +182,10 @@ if s:line1 =~# "^#!"
elseif s:name =~# 'clojure'
set ft=clojure
" Free Pascal
elseif s:name =~# 'instantfpc\>'
set ft=pascal
endif
unlet s:name