mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-09 02:13:45 -05:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08d14e7342 | ||
|
|
532c58db62 | ||
|
|
fb93d5869d |
@@ -860,6 +860,11 @@ to get illegal syntax when uncommenting them.
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
8. Changelog *NERDComChangelog*
|
8. Changelog *NERDComChangelog*
|
||||||
|
|
||||||
|
2.1.9
|
||||||
|
- added support for mrxvtrc and aap, thx to Marco for the emails
|
||||||
|
- added dummy support for SVNAnnotate, SVKAnnotate and CVSAnnotate, thx to
|
||||||
|
nicothakis for posting the issue
|
||||||
|
|
||||||
2.1.8
|
2.1.8
|
||||||
- fixed a couple of bugs with the NERDSpaceDelims option, thx to
|
- fixed a couple of bugs with the NERDSpaceDelims option, thx to
|
||||||
David Miani and Jeremy Hinegardner
|
David Miani and Jeremy Hinegardner
|
||||||
@@ -1191,3 +1196,5 @@ Brett Warneke spectre
|
|||||||
Pipp lhaskell
|
Pipp lhaskell
|
||||||
Renald Buter scala
|
Renald Buter scala
|
||||||
Vladimir Lomov asymptote
|
Vladimir Lomov asymptote
|
||||||
|
Marco mrxvtrc, aap
|
||||||
|
nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
" vim global plugin that provides easy code commenting for various file types
|
" vim global plugin that provides easy code commenting for various file types
|
||||||
" Last Change: 14 dec 2007
|
" Last Change: 18 jan 2008
|
||||||
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
|
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
|
||||||
let s:NERD_commenter_version = 2.1.8
|
let s:NERD_commenter_version = 2.1.9
|
||||||
|
|
||||||
" For help documentation type :help NERDCommenter. If this fails, Restart vim
|
" For help documentation type :help NERDCommenter. If this fails, Restart vim
|
||||||
" and try again. If it sill doesnt work... the help page is at the bottom
|
" and try again. If it sill doesnt work... the help page is at the bottom
|
||||||
@@ -132,6 +132,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
|||||||
"hardcoded the comment delimiters to use
|
"hardcoded the comment delimiters to use
|
||||||
if a:filetype == ""
|
if a:filetype == ""
|
||||||
call s:MapDelimiters('', '')
|
call s:MapDelimiters('', '')
|
||||||
|
elseif a:filetype == "aap"
|
||||||
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "abaqus"
|
elseif a:filetype == "abaqus"
|
||||||
call s:MapDelimiters('**', '')
|
call s:MapDelimiters('**', '')
|
||||||
elseif a:filetype == "abc"
|
elseif a:filetype == "abc"
|
||||||
@@ -248,6 +250,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
|||||||
call s:MapDelimiters('','')
|
call s:MapDelimiters('','')
|
||||||
elseif a:filetype == "cvs"
|
elseif a:filetype == "cvs"
|
||||||
call s:MapDelimiters('CVS:','')
|
call s:MapDelimiters('CVS:','')
|
||||||
|
elseif a:filetype == "CVSAnnotate"
|
||||||
|
call s:MapDelimiters('','')
|
||||||
elseif a:filetype == "d"
|
elseif a:filetype == "d"
|
||||||
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
||||||
elseif a:filetype == "dcl"
|
elseif a:filetype == "dcl"
|
||||||
@@ -482,6 +486,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
|||||||
call s:MapDelimiters('(*','*)')
|
call s:MapDelimiters('(*','*)')
|
||||||
elseif a:filetype == "monk"
|
elseif a:filetype == "monk"
|
||||||
call s:MapDelimiters(';', '')
|
call s:MapDelimiters(';', '')
|
||||||
|
elseif a:filetype == "mrxvtrc"
|
||||||
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "mush"
|
elseif a:filetype == "mush"
|
||||||
call s:MapDelimiters('#', '')
|
call s:MapDelimiters('#', '')
|
||||||
elseif a:filetype == "muttrc"
|
elseif a:filetype == "muttrc"
|
||||||
@@ -702,8 +708,12 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
|||||||
call s:MapDelimiters('--', '')
|
call s:MapDelimiters('--', '')
|
||||||
elseif a:filetype == "strace"
|
elseif a:filetype == "strace"
|
||||||
call s:MapDelimiters('/*','*/')
|
call s:MapDelimiters('/*','*/')
|
||||||
|
elseif a:filetype == "SVKAnnotate"
|
||||||
|
call s:MapDelimiters('','')
|
||||||
elseif a:filetype == "svn"
|
elseif a:filetype == "svn"
|
||||||
call s:MapDelimiters('','')
|
call s:MapDelimiters('','')
|
||||||
|
elseif a:filetype == "SVNAnnotate"
|
||||||
|
call s:MapDelimiters('','')
|
||||||
elseif a:filetype == "SVNcommitlog"
|
elseif a:filetype == "SVNcommitlog"
|
||||||
call s:MapDelimiters('','')
|
call s:MapDelimiters('','')
|
||||||
elseif a:filetype == "systemverilog"
|
elseif a:filetype == "systemverilog"
|
||||||
|
|||||||
Reference in New Issue
Block a user