diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-12 17:42:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-12 17:42:24 +0100 |
commit | a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9 (patch) | |
tree | ef586f6cb1068f0dd84b7d08f7492348d1f91a90 /runtime/scripts.vim | |
parent | cb6cbf29e97b7abdeb1e6cbdc5e735f5b55e97a1 (diff) |
patch 8.2.2334: Pascal-like filetypes not always detectedv8.2.2334
Problem: Pascal-like filetypes not always detected.
Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
closes #7662)
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 9c2787ace6..9217b4416a 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 |