Skip to content

Commit 0a14a15

Browse files
committed
Fix typo causing global settings to be stored as strings.
1 parent ed8eff4 commit 0a14a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/indent_guides.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ command! -bar IndentGuidesDisable call s:IndentGuidesDisable()
3030
"
3131
function s:InitVariable(var, value)
3232
if !exists(a:var)
33-
if type(a:var) == type("")
33+
if type(a:value) == type("")
3434
exec 'let ' . a:var . ' = ' . "'" . a:value . "'"
3535
else
3636
exec 'let ' . a:var . ' = ' . a:value

0 commit comments

Comments
 (0)