summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorWu, Zhenyu <wuzhenyu@ustc.edu>2024-04-12 18:46:05 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-12 18:46:05 +0200
commita1dcd76ce791b5b8bd093765a99b71aa163300a5 (patch)
treefa009c78172071c00754ac83a9b794550b86f638 /runtime
parent92325540876252eb7375e34ff8f92cd4265fa7ae (diff)
patch 9.1.0311: filetype: Some config files are not recognizedv9.1.0311
Problem: Some config files are not recognized Solution: Add some patterns for chktex, ripgreprc and ctags config files. See: https://www.nongnu.org/chktex/ See: https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md#configuration-file See: https://docs.ctags.io/en/latest/option-file.html#order-of-loading-option-files closes: #14506 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index f17ac62a3c..e3c98e6725 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -308,6 +308,9 @@ au BufNewFile,BufRead *.cs,*.csx setf cs
" CSDL
au BufNewFile,BufRead *.csdl setf csdl
+" Ctags
+au BufNewFile,BufRead *.ctags setf conf
+
" Cabal
au BufNewFile,BufRead *.cabal setf cabal
@@ -327,6 +330,9 @@ au BufRead,BufNewFile *.chai setf chaiscript
" Chatito
au BufNewFile,BufRead *.chatito setf chatito
+" Chktex
+au BufRead,BufNewFile .chktexrc setf conf
+
" Chuck
au BufNewFile,BufRead *.ck setf chuck
@@ -1863,6 +1869,9 @@ au BufNewFile,BufRead *.rego setf rego
" Rexx
au BufNewFile,BufRead *.rex,*.orx,*.rxo,*.rxj,*.jrexx,*.rexxj,*.rexx,*.testGroup,*.testUnit setf rexx
+" Ripgrep rc
+au BufNewFile,BufRead {.,}ripgreprc setf conf
+
" R Help file
if has("fname_case")
au BufNewFile,BufRead *.rd,*.Rd setf rhelp