forked from aniani/vim
patch 8.0.0372: more options are not always defined
Problem: More options are not always defined. Solution: Consistently define all possible options.
This commit is contained in:
@@ -14,7 +14,7 @@ func s:test_expand_dllpath(optname)
|
||||
endfunc
|
||||
|
||||
func s:generate_test_if_exists(optname)
|
||||
if exists('&' . a:optname)
|
||||
if exists('+' . a:optname)
|
||||
execute join([
|
||||
\ 'func Test_expand_' . a:optname . '()',
|
||||
\ ' call s:test_expand_dllpath("' . a:optname . '")',
|
||||
|
||||
Reference in New Issue
Block a user