aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-12 17:21:37 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-04-12 17:22:16 +0800
commit8c112a823535eeb32f4490b2fff33d1cc36de004 (patch)
tree510835a69a7b6b6b926a310c04d3cd1233df6a63 /runtime/lua/vim
parentbe7d8ff0e44a5364adee1c6313cdd375267a26f3 (diff)
downloadrneovim-8c112a823535eeb32f4490b2fff33d1cc36de004.tar.gz
rneovim-8c112a823535eeb32f4490b2fff33d1cc36de004.tar.bz2
rneovim-8c112a823535eeb32f4490b2fff33d1cc36de004.zip
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 <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
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',