comparison runtime/filetype.vim @ 34884:11654d15b5d8 v9.1.0307

patch 9.1.0307: filetype: texdoc config files is not recognized Commit: https://github.com/vim/vim/commit/7fdbd1bb58192650bec067a0f224c1fa971c6782 Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Thu Apr 11 20:53:33 2024 +0200 patch 9.1.0307: filetype: texdoc config files is not recognized 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>
author Christian Brabandt <cb@256bit.org>
date Thu, 11 Apr 2024 21:00:04 +0200
parents a3b37b1cae3a
children 8ca8c94914e3
comparison
equal deleted inserted replaced
34883:bac50a892d76 34884:11654d15b5d8
2353 au BufRead,BufNewFile *.tfvars setf terraform-vars 2353 au BufRead,BufNewFile *.tfvars setf terraform-vars
2354 2354
2355 " TeX 2355 " TeX
2356 au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex 2356 au BufNewFile,BufRead *.latex,*.sty,*.dtx,*.ltx,*.bbl setf tex
2357 au BufNewFile,BufRead *.tex call dist#ft#FTtex() 2357 au BufNewFile,BufRead *.tex call dist#ft#FTtex()
2358 au BufNewFile,BufRead texdoc.cnf setf conf
2358 2359
2359 " LaTeX packages will generate some medium LaTeX files during compiling 2360 " LaTeX packages will generate some medium LaTeX files during compiling
2360 " They should be ignored by .gitignore https://github.com/github/gitignore/blob/main/TeX.gitignore 2361 " They should be ignored by .gitignore https://github.com/github/gitignore/blob/main/TeX.gitignore
2361 " Sometime we need to view its content for debugging 2362 " Sometime we need to view its content for debugging
2362 au BufNewFile,BufRead *.{pgf,nlo,nls,out,thm,eps_tex,pygtex,pygstyle,clo,aux,brf,ind,lof,loe,nav,vrb,ins,tikz,bbx,cbx,beamer} setf tex 2363 au BufNewFile,BufRead *.{pgf,nlo,nls,out,thm,eps_tex,pygtex,pygstyle,clo,aux,brf,ind,lof,loe,nav,vrb,ins,tikz,bbx,cbx,beamer} setf tex