aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-09-22 21:57:08 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-09-26 10:14:50 -0400
commit25b9a400a98cc09f8b5e91629d778814c0b5cf52 (patch)
tree4a75ce35bfff91dd494d790d0603a172b2c36e14 /runtime
parent6e6b660e95e6a30e4fd8bb8734da1abf258ef660 (diff)
downloadrneovim-25b9a400a98cc09f8b5e91629d778814c0b5cf52.tar.gz
rneovim-25b9a400a98cc09f8b5e91629d778814c0b5cf52.tar.bz2
rneovim-25b9a400a98cc09f8b5e91629d778814c0b5cf52.zip
vim-patch:8.2.1725: not all Pascal files are recognized
Problem: Not all Pascal files are recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/44aaf5416e0121500dd52b7cab306d7618b4fe53
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 32bd6daba0..c464e8cebd 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1158,10 +1158,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
@@ -1732,7 +1732,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