Skip to content

Commit

Permalink
Fix typo causing global settings to be stored as strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
graywh committed Feb 21, 2011
1 parent ed8eff4 commit 0a14a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/indent_guides.vim
Expand Up @@ -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
Expand Down

0 comments on commit 0a14a15

Please sign in to comment.