aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_compiler.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-16 09:33:33 +0800
committerGitHub <noreply@github.com>2024-04-16 09:33:33 +0800
commitfb7ffac69fe4a32abfb4abfe5cf36213da17904d (patch)
treec6cdbfbbb676b49969ffe1642f181e10b38d7ac6 /test/old/testdir/test_compiler.vim
parent07661009c59e1cf70270d16ecb5f61f5c360d56a (diff)
downloadrneovim-fb7ffac69fe4a32abfb4abfe5cf36213da17904d.tar.gz
rneovim-fb7ffac69fe4a32abfb4abfe5cf36213da17904d.tar.bz2
rneovim-fb7ffac69fe4a32abfb4abfe5cf36213da17904d.zip
vim-patch:9.1.0326: filetype: some requirements files are not recognized (#28360)
Problem: filetype: some requirements files are not recognized Solution: Detect '*-requirements.txt', 'constraints.txt', 'requirements.in', 'requirements/*.txt' and 'requires/*.txt' as requirements filetype, include pip compiler, include requirements filetype and syntax plugin (Wu, Zhenyu, @raimon49) closes: vim/vim#14379 https://github.com/vim/vim/commit/f9f5424d3e75bbdb35aa48fa6f9241d9479b35e8 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Co-authored-by: raimon <raimon49@hotmail.com>
Diffstat (limited to 'test/old/testdir/test_compiler.vim')
-rw-r--r--test/old/testdir/test_compiler.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_compiler.vim b/test/old/testdir/test_compiler.vim
index 11cfd7f47f..69420b4b7f 100644
--- a/test/old/testdir/test_compiler.vim
+++ b/test/old/testdir/test_compiler.vim
@@ -62,10 +62,10 @@ func Test_compiler_completion()
call assert_match('^"compiler ' .. clist .. '$', @:)
call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
- call assert_match('"compiler pandoc pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)
+ call assert_match('"compiler pandoc pbx perl\( p[a-z_]\+\)\+ pylint pyunit', @:)
call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx')
- call assert_match('"compiler! pandoc pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)
+ call assert_match('"compiler! pandoc pbx perl\( p[a-z_]\+\)\+ pylint pyunit', @:)
endfunc
func Test_compiler_error()