fix: uncomment Lua in sexy mode with NERDCompactSexyComs=1 (#451)

This commit is contained in:
kevinhwang91
2021-02-02 15:29:10 +08:00
committed by GitHub
parent 898de2de1b
commit b83e9cdf83

View File

@@ -2153,7 +2153,7 @@ endfunction
" Function: s:Esc(str)
" Escapes all the tricky chars in the given string
function s:Esc(str)
let charsToEsc = '*/\."&$+'
let charsToEsc = '*/\."&$+[]'
return escape(a:str, charsToEsc)
endfunction