mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-01-19 20:32:45 +08:00
made the NERDDefaultNesting option default to 1
This commit is contained in:
parent
b6882e5d23
commit
78f182a601
|
@ -744,7 +744,7 @@ If this option is set to 1 then the top style will be used.
|
|||
------------------------------------------------------------------------------
|
||||
*NERDDefaultNesting*
|
||||
Values: 0 or 1.
|
||||
Default 0.
|
||||
Default 1.
|
||||
|
||||
When this option is set to 1, comments are nested automatically. That is, if
|
||||
you hit ,cc on a line that is already commented it will be commented
|
||||
|
@ -869,6 +869,8 @@ to get illegal syntax when uncommenting them.
|
|||
- added support for spectre, thx to Brett Warneke
|
||||
- added support for scala, thx to Renald Buter
|
||||
- added support for asymptote, thx to Vladimir Lomov
|
||||
- made NERDDefaultNesting enabled by default as this seems more intuitive,
|
||||
thx to marco for the suggestion
|
||||
|
||||
|
||||
2.1.7
|
||||
|
@ -1140,6 +1142,8 @@ NERDSpaceDelims option.
|
|||
Thanks to Jeremy Hinegardner for emailing me about a bug with aligned
|
||||
comments and the NERDSpaceDelims option.
|
||||
|
||||
Thanks to marco for suggesting NERDDefaultNesting be set by default.
|
||||
|
||||
Not to forget! Thanks to the following people for sending me new filetypes to
|
||||
support :D
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ call s:InitVariable("g:NERDAllowAnyVisualDelims", 1)
|
|||
call s:InitVariable("g:NERDBlockComIgnoreEmpty", 0)
|
||||
call s:InitVariable("g:NERDCommentWholeLinesInVMode", 0)
|
||||
call s:InitVariable("g:NERDCompactSexyComs", 0)
|
||||
call s:InitVariable("g:NERDDefaultNesting", 0)
|
||||
call s:InitVariable("g:NERDDefaultNesting", 1)
|
||||
call s:InitVariable("g:NERDMenuMode", 3)
|
||||
call s:InitVariable("g:NERDLPlace", "[>")
|
||||
call s:InitVariable("g:NERDUsePlaceHolders", 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user