diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-11 20:53:33 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-11 20:53:33 +0200 |
commit | 7fdbd1bb58192650bec067a0f224c1fa971c6782 (patch) | |
tree | c218c9eb8a75ab9ca651f11a892fe7e05fea0176 /runtime | |
parent | 58ce78ad438deefec54fd6206166ca2794cd6efe (diff) |
patch 9.1.0307: filetype: texdoc config files is not recognizedv9.1.0307
Problem: filetype: texdoc config files is not recognized
Solution: Detect 'texdoc.cnf' as conf filetype
(Wu, Zhenyu)
See: https://github.com/TeX-Live/texdoc/blob/master/texdoc.cnf
closes: #14507
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.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index a45d0620e7..f17ac62a3c 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2355,6 +2355,7 @@ au BufRead,BufNewFile *.tfvars setf terraform-vars " TeX au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex au BufNewFile,BufRead *.tex call dist#ft#FTtex() +au BufNewFile,BufRead texdoc.cnf setf conf " LaTeX packages will generate some medium LaTeX files during compiling " They should be ignored by .gitignore https://github.com/github/gitignore/blob/main/TeX.gitignore |