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