mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-11 11:13:47 -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)
|
||||
" Escapes all the tricky chars in the given string
|
||||
function s:Esc(str)
|
||||
let charsToEsc = '*/\."&$+'
|
||||
let charsToEsc = '*/\."&$+[]'
|
||||
return escape(a:str, charsToEsc)
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user