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 /src | |
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 'src')
-rw-r--r-- | src/testdir/test_filetype.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index b840ef112f..e04eb35618 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -162,7 +162,7 @@ def s:GetFilenameChecks(): dict<list<string>> cobol: ['file.cbl', 'file.cob', 'file.lib'], coco: ['file.atg'], conaryrecipe: ['file.recipe'], - conf: ['auto.master', 'file.conf'], + conf: ['auto.master', 'file.conf', '.x11vncrc'], config: ['configure.in', 'configure.ac', '/etc/hostname.file', 'any/etc/hostname.file'], confini: ['/etc/pacman.conf', 'any/etc/pacman.conf', 'mpv.conf', 'any/.aws/config', 'any/.aws/credentials', 'file.nmconnection'], context: ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'], diff --git a/src/version.c b/src/version.c index 7310309df7..a7a96644e2 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 306, +/**/ 305, /**/ 304, |