mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-10 10:43:48 -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
|
" 1 if the var is set, 0 otherwise
|
||||||
function s:InitVariable(var, value)
|
function s:InitVariable(var, value)
|
||||||
if !exists(a:var)
|
if !exists(a:var)
|
||||||
execute 'let ' . a:var . ' = ' . "'" . a:value . "'"
|
execute 'let ' . a:var . ' = ' . string(a:value)
|
||||||
return 1
|
return 1
|
||||||
endif
|
endif
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user