mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-12 03:33:48 -05:00
Co-authored-by: Cristiano De Michele <cristiano.demichele@uniroma1.it>
This commit is contained in:
committed by
GitHub
parent
3441a98b2d
commit
f02686f2f6
@@ -705,7 +705,7 @@ function s:CommentBlock(top, bottom, lSide, rSide, forceNested )
|
|||||||
"alternative delimiters (if THEY are) as the comment will be better and more
|
"alternative delimiters (if THEY are) as the comment will be better and more
|
||||||
"accurate with multipart delimiters
|
"accurate with multipart delimiters
|
||||||
let switchedDelims = 0
|
let switchedDelims = 0
|
||||||
if !s:Multipart() && g:NERDAllowAnyVisualDelims && s:AltMultipart()
|
if !s:Multipart() && !g:NERDAllowAnyVisualDelims && s:AltMultipart()
|
||||||
let switchedDelims = 1
|
let switchedDelims = 1
|
||||||
call s:SwitchToAlternativeDelimiters(0)
|
call s:SwitchToAlternativeDelimiters(0)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user