made the NERDDefaultNesting option default to 1

This commit is contained in:
marty 2007-12-14 16:11:49 +13:00
parent b6882e5d23
commit 78f182a601
2 changed files with 6 additions and 2 deletions

View File

@ -744,7 +744,7 @@ If this option is set to 1 then the top style will be used.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*NERDDefaultNesting* *NERDDefaultNesting*
Values: 0 or 1. Values: 0 or 1.
Default 0. Default 1.
When this option is set to 1, comments are nested automatically. That is, if 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 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 spectre, thx to Brett Warneke
- added support for scala, thx to Renald Buter - added support for scala, thx to Renald Buter
- added support for asymptote, thx to Vladimir Lomov - 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 2.1.7
@ -1140,6 +1142,8 @@ NERDSpaceDelims option.
Thanks to Jeremy Hinegardner for emailing me about a bug with aligned Thanks to Jeremy Hinegardner for emailing me about a bug with aligned
comments and the NERDSpaceDelims option. 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 Not to forget! Thanks to the following people for sending me new filetypes to
support :D support :D

View File

@ -54,7 +54,7 @@ call s:InitVariable("g:NERDAllowAnyVisualDelims", 1)
call s:InitVariable("g:NERDBlockComIgnoreEmpty", 0) call s:InitVariable("g:NERDBlockComIgnoreEmpty", 0)
call s:InitVariable("g:NERDCommentWholeLinesInVMode", 0) call s:InitVariable("g:NERDCommentWholeLinesInVMode", 0)
call s:InitVariable("g:NERDCompactSexyComs", 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:NERDMenuMode", 3)
call s:InitVariable("g:NERDLPlace", "[>") call s:InitVariable("g:NERDLPlace", "[>")
call s:InitVariable("g:NERDUsePlaceHolders", 1) call s:InitVariable("g:NERDUsePlaceHolders", 1)