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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user