diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-11-24 15:05:48 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-11-25 00:05:12 +0100 |
commit | ff00d583af8f1ce21a508d701d09c54d2621b16e (patch) | |
tree | 860f72c5fc9e3e798c9337c7676f9726c1b55477 /test | |
parent | af112e605d4d8f3015744b69ec7544d732f8dad9 (diff) | |
download | rneovim-ff00d583af8f1ce21a508d701d09c54d2621b16e.tar.gz rneovim-ff00d583af8f1ce21a508d701d09c54d2621b16e.tar.bz2 rneovim-ff00d583af8f1ce21a508d701d09c54d2621b16e.zip |
vim-patch:9.1.0886: filetype: debian control file not detected
Problem: filetype: debian control file not detected
Solution: detect 'debian/control' files as debcontrol filetype
(author)
closes: vim/vim#16067
https://github.com/vim/vim/commit/57b947e3c3b8d52b914158979263855d785445d5
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim index 62e339c1ca..58064ea412 100644 --- a/test/old/testdir/test_filetype.vim +++ b/test/old/testdir/test_filetype.vim @@ -211,7 +211,7 @@ func s:GetFilenameChecks() abort \ 'datascript': ['file.ds'], \ 'dcd': ['file.dcd'], \ 'debchangelog': ['changelog.Debian', 'changelog.dch', 'NEWS.Debian', 'NEWS.dch', '/debian/changelog'], - \ 'debcontrol': ['/debian/control', 'any/debian/control'], + \ 'debcontrol': ['/debian/control', 'any/debian/control', 'any/DEBIAN/control'], \ 'debcopyright': ['/debian/copyright', 'any/debian/copyright'], \ 'debsources': ['/etc/apt/sources.list', '/etc/apt/sources.list.d/file.list', 'any/etc/apt/sources.list', 'any/etc/apt/sources.list.d/file.list'], \ 'deb822sources': ['/etc/apt/sources.list.d/file.sources', 'any/etc/apt/sources.list.d/file.sources'], |