summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-22 19:15:31 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-22 19:15:31 +0200
commit44aaf5416e0121500dd52b7cab306d7618b4fe53 (patch)
treeca98a682cba3a6604ea1ac095b0b83ff4088b4db /runtime
parent971caf53b81b7d1b6fb0bdf32990632975d54631 (diff)
patch 8.2.1725: not all Pascal files are recognizedv8.2.1725
Problem: Not all Pascal files are recognized. Solution: Add filetype patterns. (Doug Kearns)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 5d4d77609a..65102dd46a 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1162,10 +1162,10 @@ 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 setf pascal
+au BufNewFile,BufRead *.pas,*.pp setf pascal
-" Delphi project file
-au BufNewFile,BufRead *.dpr setf pascal
+" Delphi or Lazarus program file
+au BufNewFile,BufRead *.dpr,*.lpr setf pascal
" PDF
au BufNewFile,BufRead *.pdf setf pdf
@@ -1736,7 +1736,7 @@ au BufNewFile,BufRead *.texinfo,*.texi,*.txi setf texinfo
au BufNewFile,BufRead texmf.cnf setf texmf
" Tidy config
-au BufNewFile,BufRead .tidyrc,tidyrc setf tidy
+au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy
" TF mud client
au BufNewFile,BufRead *.tf,.tfrc,tfrc setf tf