diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 19:40:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 19:46:44 +0800 |
commit | a6f972cb6a5ad47613374570d88df2570ae92b9a (patch) | |
tree | de274622e245045228702e845dc3536161276edd /src/nvim/testdir/test_compiler.vim | |
parent | 31ffc360f2a4aab469a95a55c532f376443bd5fe (diff) | |
download | rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.tar.gz rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.tar.bz2 rneovim-a6f972cb6a5ad47613374570d88df2570ae92b9a.zip |
vim-patch:8.2.2060: check for features implemented with "if"
Problem: Check for features implemented with "if".
Solution: Use the Check commands. (Ken Takata, closes vim/vim#7383)
https://github.com/vim/vim/commit/aeb313f355cd67638e3c611354ce401d86f56afe
Cherry-pick test_compiler.vim changes from patch 8.1.2373.
Diffstat (limited to 'src/nvim/testdir/test_compiler.vim')
-rw-r--r-- | src/nvim/testdir/test_compiler.vim | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim index 3dc8710d63..ec7d143030 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -1,9 +1,11 @@ " Test the :compiler command +source check.vim +source shared.vim + func Test_compiler() - if !executable('perl') - return - endif + CheckExecutable perl + CheckFeature quickfix " $LANG changes the output of Perl. if $LANG != '' |