0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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 #7383)
This commit is contained in:
Bram Moolenaar
2020-11-27 19:13:28 +01:00
parent 6ee874d378
commit aeb313f355
7 changed files with 12 additions and 24 deletions

View File

@@ -4,9 +4,7 @@ source check.vim
source shared.vim
func Test_compiler()
if !executable('perl')
return
endif
CheckExecutable perl
CheckFeature quickfix
" $LANG changes the output of Perl.