mirror of
https://github.com/preservim/vim-indent-guides.git
synced 2025-11-10 10:53:47 -05:00
Fix typo causing global settings to be stored as strings.
This commit is contained in:
@@ -30,7 +30,7 @@ command! -bar IndentGuidesDisable call s:IndentGuidesDisable()
|
|||||||
"
|
"
|
||||||
function s:InitVariable(var, value)
|
function s:InitVariable(var, value)
|
||||||
if !exists(a:var)
|
if !exists(a:var)
|
||||||
if type(a:var) == type("")
|
if type(a:value) == type("")
|
||||||
exec 'let ' . a:var . ' = ' . "'" . a:value . "'"
|
exec 'let ' . a:var . ' = ' . "'" . a:value . "'"
|
||||||
else
|
else
|
||||||
exec 'let ' . a:var . ' = ' . a:value
|
exec 'let ' . a:var . ' = ' . a:value
|
||||||
|
|||||||
Reference in New Issue
Block a user