mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-08 09:53:47 -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*
|
||||
|
||||
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
|
||||
- fixed a couple of bugs with the NERDSpaceDelims option, thx to
|
||||
David Miani and Jeremy Hinegardner
|
||||
@@ -1191,3 +1196,5 @@ Brett Warneke spectre
|
||||
Pipp lhaskell
|
||||
Renald Buter scala
|
||||
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
|
||||
" Last Change: 14 dec 2007
|
||||
" Last Change: 18 jan 2008
|
||||
" 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
|
||||
" 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
|
||||
if a:filetype == ""
|
||||
call s:MapDelimiters('', '')
|
||||
elseif a:filetype == "aap"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "abaqus"
|
||||
call s:MapDelimiters('**', '')
|
||||
elseif a:filetype == "abc"
|
||||
@@ -248,6 +250,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "cvs"
|
||||
call s:MapDelimiters('CVS:','')
|
||||
elseif a:filetype == "CVSAnnotate"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "d"
|
||||
call s:MapDelimitersWithAlternative('//','', '/*','*/')
|
||||
elseif a:filetype == "dcl"
|
||||
@@ -482,6 +486,8 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('(*','*)')
|
||||
elseif a:filetype == "monk"
|
||||
call s:MapDelimiters(';', '')
|
||||
elseif a:filetype == "mrxvtrc"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "mush"
|
||||
call s:MapDelimiters('#', '')
|
||||
elseif a:filetype == "muttrc"
|
||||
@@ -702,8 +708,12 @@ function s:SetUpForNewFiletype(filetype, forceReset)
|
||||
call s:MapDelimiters('--', '')
|
||||
elseif a:filetype == "strace"
|
||||
call s:MapDelimiters('/*','*/')
|
||||
elseif a:filetype == "SVKAnnotate"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "svn"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "SVNAnnotate"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "SVNcommitlog"
|
||||
call s:MapDelimiters('','')
|
||||
elseif a:filetype == "systemverilog"
|
||||
|
||||
Reference in New Issue
Block a user