r1242 - in /trunk/packages/vim-scripts: debian/changelog debian/vim-scripts.status doc/NERD_commenter.txt html/index.html html/plugin_NERD_commenter.vim.html plugin/NERD_commenter.vim
jamessan at users.alioth.debian.org
jamessan at users.alioth.debian.org
Tue Apr 8 20:27:44 UTC 2008
Author: jamessan
Date: Tue Apr 8 20:27:44 2008
New Revision: 1242
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1242
Log:
Update NERD Commenter
Modified:
trunk/packages/vim-scripts/debian/changelog
trunk/packages/vim-scripts/debian/vim-scripts.status
trunk/packages/vim-scripts/doc/NERD_commenter.txt
trunk/packages/vim-scripts/html/index.html
trunk/packages/vim-scripts/html/plugin_NERD_commenter.vim.html
trunk/packages/vim-scripts/plugin/NERD_commenter.vim
Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Tue Apr 8 20:27:44 2008
@@ -7,9 +7,10 @@
being run in other buffers. Thanks to Marvin Renich for the patch fix.
(Closes: #465330)
* Updated addons:
- - xmledit, surround, debPlugin, Markdown syntax
+ - xmledit, surround, debPlugin, Markdown syntax, NERD Commenter
* New addons:
- DetectIndent: Automatically detect indent settings (Closes: #471890)
+ *
-- James Vega <jamessan at debian.org> Tue, 05 Feb 2008 17:06:54 -0500
Modified: trunk/packages/vim-scripts/debian/vim-scripts.status
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-scripts.status?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-scripts.status (original)
+++ trunk/packages/vim-scripts/debian/vim-scripts.status Tue Apr 8 20:27:44 2008
@@ -253,7 +253,7 @@
license: no license
extras: doc/NERD_commenter.txt
disabledby: let loaded_nerd_comments = 1
-version: 2.1.9
+version: 2.1.12
script_name: plugin/project.vim
addon: project
Modified: trunk/packages/vim-scripts/doc/NERD_commenter.txt
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/doc/NERD_commenter.txt?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/doc/NERD_commenter.txt (original)
+++ trunk/packages/vim-scripts/doc/NERD_commenter.txt Tue Apr 8 20:27:44 2008
@@ -860,6 +860,23 @@
==============================================================================
8. Changelog *NERDComChangelog*
+2.1.12
+ - added support for patran and dakota, thx to Jacobo Diaz for the email
+ - added support for gentoo-env-d, gentoo-init-d, gentoo-make-conf, grub,
+ modconf and sudoers filetypes, thx to Li Jin for the patch.
+ - added support for SVNdiff, gitAnnotate, gitdiff. Thx to nicothakis for
+ posting the issue
+
+2.1.11
+ - fixed a bug with the selection option and visual commenting (again).
+ Thanks to Ingo Karkat (again).
+
+2.1.10
+ - added support for Wikipedia (thanks to Chen Xing)
+ - added support for mplayerconf
+ - bugfixes (thanks to Ingo Karkat for the bug report/patch)
+ - added support for mkd (thanks to Stefano Zacchiroli)
+
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
@@ -1148,6 +1165,8 @@
comments and the NERDSpaceDelims option.
Thanks to marco for suggesting NERDDefaultNesting be set by default.
+
+Thanks to Ingo Karkat for the bug reports and the bugfix patch.
Not to forget! Thanks to the following people for sending me new filetypes to
support :D
@@ -1171,7 +1190,7 @@
Michael Böhler autoit, autohotkey and docbk
Aaron Small cmake
Ramiro htmldjango and django
-Stefano Zacchiroli debcontrol and debchangelog
+Stefano Zacchiroli debcontrol, debchangelog, mkd
Alex Tarkovsky ebuild and eclass
Jorge Rodrigues gams
Rainer Müller Objective C
@@ -1190,11 +1209,17 @@
Bruce Sherrod velocity
timberke cobol
Aaron Schaefer factor
-Laurent ARNOUD asterisk
+Laurent ARNOUD asterisk, mplayerconf
Kuchma Michael plsql
Brett Warneke spectre
Pipp lhaskell
Renald Buter scala
Vladimir Lomov asymptote
Marco mrxvtrc, aap
-nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate
+nicothakis SVNAnnotate, CVSAnnotate, SVKAnnotate,
+ SVNdiff, gitAnnotate, gitdiff
+Chen Xing Wikipedia
+Jacobo Diaz dakota, patran
+Li Jin gentoo-env-d, gentoo-init-d,
+ gentoo-make-conf, grub, modconf, sudoers
+
Modified: trunk/packages/vim-scripts/html/index.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/index.html?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/index.html (original)
+++ trunk/packages/vim-scripts/html/index.html Tue Apr 8 20:27:44 2008
@@ -49,7 +49,7 @@
<li><a href="syntax_mkd.vim.html">syntax/mkd.vim.html</a></li>
</ul>
<p>
- Page generated on Tue, 08 Apr 2008 16:15:47 -0400
+ Page generated on Tue, 08 Apr 2008 16:25:59 -0400
.
</p>
</body>
Modified: trunk/packages/vim-scripts/html/plugin_NERD_commenter.vim.html
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/html/plugin_NERD_commenter.vim.html?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/html/plugin_NERD_commenter.vim.html (original)
+++ trunk/packages/vim-scripts/html/plugin_NERD_commenter.vim.html Tue Apr 8 20:27:44 2008
@@ -153,8 +153,8 @@
<tr>
<td class="lightbg"><b> script karma </b></td>
<td>
- Rating <b>618/208</b>,
- Downloaded by 9081 </td>
+ Rating <b>681/226</b>,
+ Downloaded by 10063 </td>
</tr>
</table>
<p>
@@ -204,28 +204,44 @@
<th valign="top">release notes</th>
</tr>
<tr>
- <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8161">NERD_commenter.zip</a></td>
- <td class="rowodd" valign="top" nowrap><b>2.1.9</b></td>
- <td class="rowodd" valign="top" nowrap><i>2008-01-18</i></td>
+ <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8510">NERD_commenter.zip</a></td>
+ <td class="rowodd" valign="top" nowrap><b>2.1.12</b></td>
+ <td class="rowodd" valign="top" nowrap><i>2008-03-30</i></td>
<td class="rowodd" valign="top" nowrap>7.0</td>
<td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=7006">Marty Grenfell</a></i></td>
- <td class="rowodd" valign="top" width="2000">- added support for mrxvtrc and aap, thx to Marco for the emails
<br>- added dummy support for SVNAnnotate, SVKAnnotate and CVSAnnotate, thx to nicothakis for posting the issue
<br></td>
-</tr>
-<tr>
- <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8051">NERD_commenter.zip</a></td>
- <td class="roweven" valign="top" nowrap><b>2.1.8</b></td>
- <td class="roweven" valign="top" nowrap><i>2007-12-13</i></td>
+ <td class="rowodd" valign="top" width="2000">- added support for patran and dakota, thx to Jacobo Diaz for the email
<br>- added support for gentoo-env-d, gentoo-init-d, gentoo-make-conf, grub, modconf and sudoers filetypes, thx to Li Jin for the patch.
<br>- added support for SVNdiff, gitAnnotate, gitdiff. Thx to nicothakis for posting the issue
<br></td>
+</tr>
+<tr>
+ <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8335">NERD_commenter.zip</a></td>
+ <td class="roweven" valign="top" nowrap><b>2.1.11</b></td>
+ <td class="roweven" valign="top" nowrap><i>2008-02-23</i></td>
<td class="roweven" valign="top" nowrap>7.0</td>
<td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=7006">Marty Grenfell</a></i></td>
- <td class="roweven" valign="top" width="2000">- fixed a couple of bugs with the NERDSpaceDelims option, thx to David Miani and Jeremy Hinegardner
<br>- added dummy support for lhaskell, thx to pipp for posting the issue
<br>- added an alternative set of delims for the plsql filetype, thx to Kuchma Michael
<br>- added support for spectre, thx to Brett Warneke
<br>- added support for scala, thx to Renald Buter
<br>- added support for asymptote, thx to Vladimir Lomov
<br>- made NERDDefaultNesting enabled by default as this seems more intuitive, thx to marco for the suggestion
<br></td>
-</tr>
-<tr>
- <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8014">NERD_commenter.zip</a></td>
- <td class="rowodd" valign="top" nowrap><b>2.1.7</b></td>
- <td class="rowodd" valign="top" nowrap><i>2007-12-01</i></td>
+ <td class="roweven" valign="top" width="2000">- fixed a bug with the selection option and visual commenting (again). Thanks to Ingo Karkat (again).
<br></td>
+</tr>
+<tr>
+ <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8325">NERD_commenter.zip</a></td>
+ <td class="rowodd" valign="top" nowrap><b>2.1.10</b></td>
+ <td class="rowodd" valign="top" nowrap><i>2008-02-22</i></td>
<td class="rowodd" valign="top" nowrap>7.0</td>
<td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=7006">Marty Grenfell</a></i></td>
- <td class="rowodd" valign="top" width="2000">- added support for haml, thx to Greb Weber
<br>- added support for asterisk, thx to Laurent ARNOUD
<br>- added support for objcpp, thx to Nicolas Weber
<br>- added support for the factor filetype, thx to Aaron Schaefer
<br>- fixed a bug with the passwd filetype setup, thx to Yongwei Wu
<br>- fixed a bug that was forcing filetypes with an alternative set of delims
<br> to have at least one multipart set.
<br>- split out the help file out from the script and repackaged everything as
<br> a zip
<br></td>
+ <td class="rowodd" valign="top" width="2000">- added support for Wikipedia (thanks to Chen Xing)
<br>- added support for mplayerconf
<br>- bugfixes (thanks to Ingo Karkat for the bug report/patch)
<br>- added support for mkd (thanks to Stefano Zacchiroli)
<br></td>
+</tr>
+<tr>
+ <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8161">NERD_commenter.zip</a></td>
+ <td class="roweven" valign="top" nowrap><b>2.1.9</b></td>
+ <td class="roweven" valign="top" nowrap><i>2008-01-18</i></td>
+ <td class="roweven" valign="top" nowrap>7.0</td>
+ <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=7006">Marty Grenfell</a></i></td>
+ <td class="roweven" valign="top" width="2000">- added support for mrxvtrc and aap, thx to Marco for the emails
<br>- added dummy support for SVNAnnotate, SVKAnnotate and CVSAnnotate, thx to nicothakis for posting the issue
<br></td>
+</tr>
+<tr>
+ <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8051">NERD_commenter.zip</a></td>
+ <td class="rowodd" valign="top" nowrap><b>2.1.8</b></td>
+ <td class="rowodd" valign="top" nowrap><i>2007-12-13</i></td>
+ <td class="rowodd" valign="top" nowrap>7.0</td>
+ <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=7006">Marty Grenfell</a></i></td>
+ <td class="rowodd" valign="top" width="2000">- fixed a couple of bugs with the NERDSpaceDelims option, thx to David Miani and Jeremy Hinegardner
<br>- added dummy support for lhaskell, thx to pipp for posting the issue
<br>- added an alternative set of delims for the plsql filetype, thx to Kuchma Michael
<br>- added support for spectre, thx to Brett Warneke
<br>- added support for scala, thx to Renald Buter
<br>- added support for asymptote, thx to Vladimir Lomov
<br>- made NERDDefaultNesting enabled by default as this seems more intuitive, thx to marco for the suggestion
<br></td>
</tr>
<tr>
<td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7827">NERD_commenter.vim</a></td>
@@ -967,8 +983,7 @@
</td>
<td align="right" valign="top">
- <a href="http://www.webconceptgroup.net"><img src="/images/logo_sponsor_wcg.jpg" width="131" height="30" border="0" alt="Sponsored by Web Concept Group Inc."></a>
- <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+ <a href="http://sourceforge.net" rel="nofollow"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
</td>
<td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>
Modified: trunk/packages/vim-scripts/plugin/NERD_commenter.vim
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/plugin/NERD_commenter.vim?rev=1242&op=diff
==============================================================================
--- trunk/packages/vim-scripts/plugin/NERD_commenter.vim (original)
+++ trunk/packages/vim-scripts/plugin/NERD_commenter.vim Tue Apr 8 20:27:44 2008
@@ -1,7 +1,7 @@
" vim global plugin that provides easy code commenting for various file types
-" Last Change: 18 jan 2008
+" Last Change: 31 March 2008
" Maintainer: Martin Grenfell <martin_grenfell at msn.com>
-let s:NERD_commenter_version = 2.1.9
+let s:NERD_commenter_version = 2.1.12
" 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
@@ -256,6 +256,8 @@
call s:MapDelimitersWithAlternative('//','', '/*','*/')
elseif a:filetype == "dcl"
call s:MapDelimiters('$!', '')
+ elseif a:filetype == "dakota"
+ call s:MapDelimiters('#', '')
elseif a:filetype == "debchangelog"
call s:MapDelimiters('', '')
elseif a:filetype == "debcontrol"
@@ -342,16 +344,28 @@
call s:MapDelimiters('GEEK_COMMENT:', '')
elseif a:filetype == "gentoo-conf-d"
call s:MapDelimiters('#', '')
+ elseif a:filetype == "gentoo-env-d"
+ call s:MapDelimiters('#', '')
+ elseif a:filetype == "gentoo-init-d"
+ call s:MapDelimiters('#', '')
+ elseif a:filetype == "gentoo-make-conf"
+ call s:MapDelimiters('#', '')
elseif a:filetype == 'gentoo-package-keywords'
call s:MapDelimiters('#', '')
elseif a:filetype == 'gentoo-package-mask'
call s:MapDelimiters('#', '')
elseif a:filetype == 'gentoo-package-use'
call s:MapDelimiters('#', '')
+ elseif a:filetype == 'gitAnnotate'
+ call s:MapDelimiters('', '')
+ elseif a:filetype == 'gitdiff'
+ call s:MapDelimiters('', '')
elseif a:filetype == "gnuplot"
call s:MapDelimiters('#','')
elseif a:filetype == "groovy"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
+ elseif a:filetype == "grub"
+ call s:MapDelimiters('#', '')
elseif a:filetype == "gtkrc"
call s:MapDelimiters('#', '')
elseif a:filetype == "haskell"
@@ -474,8 +488,12 @@
call s:MapDelimiters('%', '')
elseif a:filetype == "mib"
call s:MapDelimiters('--', '')
+ elseif a:filetype == "mkd"
+ call s:MapDelimiters('>', '')
elseif a:filetype == "mma"
call s:MapDelimiters('(*','*)')
+ elseif a:filetype == "modconf"
+ call s:MapDelimiters('#', '')
elseif a:filetype == "model"
call s:MapDelimiters('$','$')
elseif a:filetype =~ "moduala."
@@ -486,6 +504,8 @@
call s:MapDelimiters('(*','*)')
elseif a:filetype == "monk"
call s:MapDelimiters(';', '')
+ elseif a:filetype == "mplayerconf"
+ call s:MapDelimiters('#', '')
elseif a:filetype == "mrxvtrc"
call s:MapDelimiters('#', '')
elseif a:filetype == "mush"
@@ -538,6 +558,8 @@
call s:MapDelimitersWithAlternative('{','}', '(*', '*)')
elseif a:filetype == "passwd"
call s:MapDelimiters('','')
+ elseif a:filetype == "patran"
+ call s:MapDelimitersWithAlternative('$','','/*', '*/')
elseif a:filetype == "pcap"
call s:MapDelimiters('#', '')
elseif a:filetype == "pccts"
@@ -708,6 +730,8 @@
call s:MapDelimiters('--', '')
elseif a:filetype == "strace"
call s:MapDelimiters('/*','*/')
+ elseif a:filetype == "sudoers"
+ call s:MapDelimiters('#', '')
elseif a:filetype == "SVKAnnotate"
call s:MapDelimiters('','')
elseif a:filetype == "svn"
@@ -715,6 +739,8 @@
elseif a:filetype == "SVNAnnotate"
call s:MapDelimiters('','')
elseif a:filetype == "SVNcommitlog"
+ call s:MapDelimiters('','')
+ elseif a:filetype == "SVNdiff"
call s:MapDelimiters('','')
elseif a:filetype == "systemverilog"
call s:MapDelimitersWithAlternative('//','', '/*','*/')
@@ -790,6 +816,8 @@
call s:MapDelimiters('##', '')
elseif a:filetype == "wget"
call s:MapDelimiters('#', '')
+ elseif a:filetype ==? "Wikipedia"
+ call s:MapDelimiters('<!--','-->')
elseif a:filetype == "winbatch"
call s:MapDelimiters(';', '')
elseif a:filetype == "wml"
@@ -1041,7 +1069,7 @@
if s:Multipart()
"stick the right delimiter down
- let theLine = strpart(theLine, 0, rSide+strlen(leftSpaced)) . rightSpaced . strpart(theLine, rSide+strlen(rightSpaced))
+ let theLine = strpart(theLine, 0, rSide+strlen(leftSpaced)) . rightSpaced . strpart(theLine, rSide+strlen(leftSpaced))
let firstLeftDelim = s:FindDelimiterIndex(b:left, theLine)
let lastRightDelim = s:LastIndexOfDelim(b:right, theLine)
@@ -1440,14 +1468,14 @@
" 'nested', 'toEOL', 'prepend', 'append', 'insert', 'uncomment', 'yank'
function! NERDComment(isVisual, type) range
" we want case sensitivity when commenting
- let prevIgnoreCase = &ignorecase
+ let oldIgnoreCase = &ignorecase
set noignorecase
if a:isVisual
let firstLine = line("'<")
let lastLine = line("'>")
let firstCol = col("'<")
- let lastCol = col("'>")
+ let lastCol = col("'>") - (&selection == 'exclusive' ? 1 : 0)
else
let firstLine = a:firstline
let lastLine = a:lastline
@@ -1529,7 +1557,7 @@
execute firstLine .','. lastLine .'call NERDComment('. a:isVisual .', "norm")'
endif
- let &ignorecase = prevIgnoreCase
+ let &ignorecase = oldIgnoreCase
endfunction
" Function: s:PlaceDelimitersAndInsBetween() function {{{2
More information about the pkg-vim-maintainers
mailing list