1
0
forked from aniani/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 #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

@@ -543,9 +543,7 @@ endfunc
" Test for command-line completion of expressions
func Test_expr_completion()
if !has('cmdline_compl')
return
endif
CheckFeature cmdline_compl
for cmd in [
\ 'let a = ',
\ 'const a = ',