diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-11 20:47:45 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-11 20:47:45 +0200 |
commit | 58ce78ad438deefec54fd6206166ca2794cd6efe (patch) | |
tree | dbfff6b0753f78817d47074be310d8177e0f0586 /runtime | |
parent | da70feabeab77581e48a7ca9c8d5f950c1c2814e (diff) |
patch 9.1.0306: filetype: x11vnc config file is not recognizedv9.1.0306
Problem: filetype: x11vnc config file is not recognized
Solution: Detect '.x11vncrc' as conf filetype
(Wu, Zhenyu)
See: https://linux.die.net/man/1/x11vnc
closes: #14511
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9c2f4aa892..a45d0620e7 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2615,6 +2615,9 @@ au BufNewFile,BufRead *.ws[fc] setf wsh " XHTML au BufNewFile,BufRead *.xhtml,*.xht setf xhtml +" X11vnc +au BufNewFile,BufRead .x11vncrc setf conf + " X Pixmap (dynamically sets colors, this used to trigger on BufEnter to make " it work better, but that breaks setting 'filetype' manually) au BufNewFile,BufRead *.xpm |