diff --git a/plugin/indent_guides.vim b/plugin/indent_guides.vim index 907ee6d..21c219f 100644 --- a/plugin/indent_guides.vim +++ b/plugin/indent_guides.vim @@ -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