aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-14 20:56:30 -0500
committerGitHub <noreply@github.com>2021-01-14 20:56:30 -0500
commit0fad952a2b7d90d2c3215e8e3c50ae62233e2158 (patch)
treedd4d33f99fb2af6253a5809d6c8dd86ce091f1d6 /runtime/filetype.vim
parent2390a0d3c412060eeeec2c7076a2014e2834eb10 (diff)
parentd953614e72c266a911bf9752dc25abe4c839a78d (diff)
downloadrneovim-0fad952a2b7d90d2c3215e8e3c50ae62233e2158.tar.gz
rneovim-0fad952a2b7d90d2c3215e8e3c50ae62233e2158.tar.bz2
rneovim-0fad952a2b7d90d2c3215e8e3c50ae62233e2158.zip
Merge pull request #13750 from janlazo/vim-8.2.2329
vim-patch:8.2.{2329,2334}
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 959fe35662..ba81a3348e 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1170,7 +1170,9 @@ au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp
au BufNewFile,BufRead */etc/passwd,*/etc/passwd-,*/etc/passwd.edit,*/etc/shadow,*/etc/shadow-,*/etc/shadow.edit,*/var/backups/passwd.bak,*/var/backups/shadow.bak setf passwd
" Pascal (also *.p)
-au BufNewFile,BufRead *.pas,*.pp setf pascal
+au BufNewFile,BufRead *.pas setf pascal
+
+au BufNewFile,BufRead *.pp call dist#ft#FTpp()
" Delphi or Lazarus program file
au BufNewFile,BufRead *.dpr,*.lpr setf pascal