mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-08 09:53:47 -05:00
use string()
This commit is contained in:
@@ -28,7 +28,7 @@ let nerdcommenter#loaded = 1
|
||||
" 1 if the var is set, 0 otherwise
|
||||
function s:InitVariable(var, value)
|
||||
if !exists(a:var)
|
||||
execute 'let ' . a:var . ' = ' . "'" . a:value . "'"
|
||||
execute 'let ' . a:var . ' = ' . string(a:value)
|
||||
return 1
|
||||
endif
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user