Fix typo causing global settings to be stored as strings.
This commit is contained in:
parent
ed8eff420b
commit
0a14a1558e
@ -30,7 +30,7 @@ command! -bar IndentGuidesDisable call s:IndentGuidesDisable()
|
||||
"
|
||||
function s:InitVariable(var, value)
|
||||
if !exists(a:var)
|
||||
if type(a:var) == type("")
|
||||
if type(a:value) == type("")
|
||||
exec 'let ' . a:var . ' = ' . "'" . a:value . "'"
|
||||
else
|
||||
exec 'let ' . a:var . ' = ' . a:value
|
||||
|
Loading…
Reference in New Issue
Block a user