diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-04-10 22:52:40 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-10 22:52:40 +0200 |
commit | 1492fe69037586b6c625d42205d77dd38ba51640 (patch) | |
tree | 6ce7613dd4c8ea089070d9614b8920d9163e9050 /src | |
parent | 27f17a6d3493f611f5bdc376217535f9c49b479b (diff) |
patch 9.1.0304: filetype: cgdb config file is not recognizedv9.1.0304
Problem: filetype: cgdb config file is not recognized
Solution: Detect cgdbrc files as cgdbrc filetype
(Wu, Zhenyu)
closes: #14458
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 | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 5d42cc55e1..fb8df5cffa 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -145,6 +145,7 @@ def s:GetFilenameChecks(): dict<list<string>> cf: ['file.cfm', 'file.cfi', 'file.cfc'], cfengine: ['cfengine.conf'], cfg: ['file.hgrc', 'filehgrc', 'hgrc', 'some-hgrc'], + cgdbrc: ['cgdbrc'], ch: ['file.chf'], chaiscript: ['file.chai'], chaskell: ['file.chs'], diff --git a/src/version.c b/src/version.c index 65b5bd5b39..b313d16cc3 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 */ /**/ + 304, +/**/ 303, /**/ 302, |