mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-12 03:33:48 -05:00
fix: uncomment Lua in sexy mode with NERDCompactSexyComs=1 (#451)
This commit is contained in:
@@ -2153,7 +2153,7 @@ endfunction
|
|||||||
" Function: s:Esc(str)
|
" Function: s:Esc(str)
|
||||||
" Escapes all the tricky chars in the given string
|
" Escapes all the tricky chars in the given string
|
||||||
function s:Esc(str)
|
function s:Esc(str)
|
||||||
let charsToEsc = '*/\."&$+'
|
let charsToEsc = '*/\."&$+[]'
|
||||||
return escape(a:str, charsToEsc)
|
return escape(a:str, charsToEsc)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user