From d953614e72c266a911bf9752dc25abe4c839a78d Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 13 Jan 2021 09:37:15 -0500 Subject: 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 --- runtime/scripts.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/scripts.vim') 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 -- cgit