diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-13 09:37:15 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-13 18:25:00 -0500 |
commit | d953614e72c266a911bf9752dc25abe4c839a78d (patch) | |
tree | 2843917334f6840cb57e3fe27e4fab3b1ff86016 /runtime/scripts.vim | |
parent | bd02e29443cb23bc8e43d30030e1b9652c24cf36 (diff) | |
download | rneovim-d953614e72c266a911bf9752dc25abe4c839a78d.tar.gz rneovim-d953614e72c266a911bf9752dc25abe4c839a78d.tar.bz2 rneovim-d953614e72c266a911bf9752dc25abe4c839a78d.zip |
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)
https://github.com/vim/vim/commit/a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9
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 6aae2b1ec3..536993d485 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim @@ -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 |