diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-03-31 19:45:11 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-31 19:45:11 +0200 |
commit | a2c27b01dc344b16849721bd934779c627665364 (patch) | |
tree | aebf4624982a15c2129c3dbf8190b44545508a2d /runtime/filetype.vim | |
parent | a55a22a1a30f8f37633ed78ea25a393d11e250f2 (diff) |
patch 9.1.0246: filetype: fontconfig files are not recognizedv9.1.0246
Problem: filetype: fontconfig files are not recognized
Solution: detect 'fonts.conf' as xml
(Wu, Zhenyu)
closes: #14367
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index fe450b8b13..bb5205f519 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -507,6 +507,9 @@ endif au BufNewFile,BufRead *s6*/\(up\|down\|run\|finish\) setf execline au BufNewFile,BufRead s6-* setf execline +" Fontconfig config files +au BufNewFile,BufRead fonts.conf setf xml + " Lynx config files au BufNewFile,BufRead lynx.cfg setf lynx |