From 8c112a823535eeb32f4490b2fff33d1cc36de004 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 12 Apr 2024 17:21:37 +0800 Subject: vim-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: vim/vim#14507 https://github.com/vim/vim/commit/7fdbd1bb58192650bec067a0f224c1fa971c6782 Co-authored-by: Wu, Zhenyu --- runtime/lua/vim/filetype.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/lua') diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index d8b818866c..b1d02f900d 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1302,6 +1302,7 @@ local filename = { ['csh.login'] = detect.csh, ['csh.logout'] = detect.csh, ['auto.master'] = 'conf', + ['texdoc.cnf'] = 'conf', ['.x11vncrc'] = 'conf', ['configure.in'] = 'config', ['configure.ac'] = 'config', -- cgit