commit | a0122dcd1cc9e9bb62c071a9b91426a8bce4f8d9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 17:42:24 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 12 17:42:24 2021 +0100 |
tree | ef586f6cb1068f0dd84b7d08f7492348d1f91a90 | |
parent | cb6cbf29e97b7abdeb1e6cbdc5e735f5b55e97a1 [diff] [blame] |
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 #7662)
diff --git a/runtime/scripts.vim b/runtime/scripts.vim index 9c2787a..9217b44 100644 --- a/runtime/scripts.vim +++ b/runtime/scripts.vim
@@ -182,6 +182,10 @@ elseif s:name =~# 'clojure' set ft=clojure + " Free Pascal + elseif s:name =~# 'instantfpc\>' + set ft=pascal + endif unlet s:name