55 Commits

Author SHA1 Message Date
Martin Grenfell
a84365f174 switch version to 2.1.15 2008-06-22 12:09:48 +12:00
Martin Grenfell
1fc1decbe9 update changelog 2008-06-22 12:09:19 +12:00
Martin Grenfell
dc8275ffa0 update the header comments 2008-06-22 12:08:11 +12:00
Martin Grenfell
64f0798984 use wtfpl license, remove todo list from the help 2008-06-22 12:03:32 +12:00
Martin Grenfell
01f8df684c add support for group 2008-06-20 21:46:17 +12:00
Martin Grenfell
7c830eb223 remove all trailing whitespace 2008-06-15 21:36:23 +12:00
Martin Grenfell
af0d51d8b3 add support for bzr 2008-06-15 21:34:08 +12:00
Martin Grenfell
650396b1fc update the changelog 2008-05-24 18:55:53 +12:00
Martin Grenfell
cf54bfc7c4 add support for map 2008-05-24 18:55:08 +12:00
Martin Grenfell
6b2cc6c41d add support for mason 2008-05-24 16:35:03 +12:00
Martin Grenfell
e52840527a remove an out of date comment 2008-05-19 15:44:53 +12:00
Martin Grenfell
dee2021b8f fix some indenting in the changelog 2008-05-19 15:43:42 +12:00
Martin Grenfell
2da9787ff1 add support for pamconf 2008-05-19 15:42:19 +12:00
Martin Grenfell
fef5db7e92 change version to 2.1.14 2008-05-17 16:12:27 +12:00
Martin Grenfell
875831209a add support for dtrace 2008-05-17 15:44:36 +12:00
Martin Grenfell
191bb50879 add support for nerdtree 2008-05-17 14:54:44 +12:00
Martin Grenfell
e92b6f60d5 add support for tar 2008-05-15 09:17:51 +12:00
Martin Grenfell
3eea85daa4 add support for gitconfig 2008-05-13 10:51:56 +12:00
Martin Grenfell
62b394aa9b minor doc fix 2008-05-04 13:41:29 +12:00
Martin Grenfell
953fc19af9 added a couple of thx notes for filetypes 2008-05-04 13:33:24 +12:00
Martin Grenfell
ded4e80efe added a note to the thanks section, and tidied it up a bit 2008-05-04 13:30:56 +12:00
Martin Grenfell
890ab3fe2e tidied up the changelog for this release 2008-05-04 13:25:52 +12:00
Martin Grenfell
dd7a0bf471 changed the version to 2.1.13 for the next release 2008-05-04 13:13:30 +12:00
Martin Grenfell
4b0e7a8f1a add support for slice filetype 2008-04-29 22:08:29 +12:00
Martin Grenfell
c5623a31e2 add support for vimperator 2008-04-29 22:03:10 +12:00
Martin Grenfell
06be251c66 bugfix: fixed single line compact sexy comments 2008-04-29 21:38:06 +12:00
Martin Grenfell
3aeaa92dd7 make toggle commenting less picky about which lines it uncomments 2008-04-29 21:23:57 +12:00
Martin Grenfell
4809a9c287 make sexy commenting fall back to normal commenting if sexy comments arent possible with the current filetype 2008-04-28 22:54:37 +12:00
Martin Grenfell
0256b0a18c make the changelog look a bit nicer 2008-04-28 22:54:13 +12:00
Martin Grenfell
148fe82c42 note some sexy comment fixes in changelog 2008-04-28 22:53:43 +12:00
Martin Grenfell
3eb5a0fcde bugfix: fixed another infinite loop when detecting sexy comments 2008-04-28 22:40:51 +12:00
Martin Grenfell
f5092782ee bugfix: stopped infine loop when checking for sexy comment on first/last line of file 2008-04-28 22:27:10 +12:00
Martin Grenfell
75f5b5f275 bugfix: remove extra spaces (if options permit) when uncommenting irregular comments 2008-04-28 22:07:18 +12:00
Martin Grenfell
ebe9dc2a38 add a note about the NERDRemoveExtraSpaces fix to the changelog 2008-04-28 22:06:40 +12:00
Martin Grenfell
f2fa62bd4f correct the default value for NERDRemoveExtraSpaces
previously NERDRemoveExtraSpaces was set to 0 by default even though the
documentation stated the default as 1
2008-04-28 20:56:41 +12:00
Martin Grenfell
7ea2aeea99 updated the changelog 2008-04-28 20:47:23 +12:00
Martin Grenfell
065022b1ee add support for 'gitcommit' filetype 2008-04-28 20:38:51 +12:00
Martin Grenfell
3bccb91e7d added support for 'services' filetype 2008-04-28 20:28:15 +12:00
Martin Grenfell
a24c8b79f8 added support for liquid 2008-04-17 23:26:21 +12:00
Martin Grenfell
f8ce318000 add support for pyrex 2008-04-17 23:18:00 +12:00
Martin Grenfell
f95255e299 added support for rib 2008-04-17 23:13:34 +12:00
Martin Grenfell
6a9764f39a changed the version to 2.1.12 2008-03-31 18:11:58 +13:00
Martin Grenfell
6304c65434 added support for SVNdiff, gitAnnotate and gitdiff 2008-03-31 18:11:06 +13:00
Martin Grenfell
6089d08ed3 handy rakefile to create release zip files and deploy locally 2008-03-31 17:56:29 +13:00
Martin Grenfell
c53ae79ca3 added a credit and changelog entry for the previous commit 2008-03-10 21:17:51 +13:00
Martin Grenfell
432fe6b156 applied a patch from Li Jin to add support for 6 more filetypes 2008-03-10 21:14:03 +13:00
Martin Grenfell
aafe01e4e9 added support for patran and dakota 2008-03-10 21:10:22 +13:00
marty
4f05d713b4 updated version and timestamp 2008-02-24 00:31:44 +13:00
marty
59735a2904 bugfix: fixed a bug with &selection and visual commenting 2008-02-24 00:31:27 +13:00
marty
f8c60c7bd8 updated the version and updated time 2008-02-22 22:51:50 +13:00
marty
2783e3639d update to the change log 2008-02-22 22:49:53 +13:00
marty
6337d56893 added support for Wikipedia, mplayerconf and mkd 2008-02-22 22:45:56 +13:00
marty
a24534c6f1 bugfix: fixed a bug that was showing up when commenting in visual mode with multipart delims of different lengths 2008-02-06 21:08:40 +13:00
marty
122490be95 bugfix: now we take into account the &selection option and adjust visual selections accordingly 2008-02-06 20:23:54 +13:00
marty
d1af8af555 refactored a variable name 2008-02-06 20:11:17 +13:00
3 changed files with 1009 additions and 870 deletions

18
Rakefile Normal file
View File

@@ -0,0 +1,18 @@
desc "Copy the vim/doc files into ~/.vim"
task :deploy_local do
run "cp plugin/NERD_commenter.vim ~/.vim/plugin"
run "cp doc/NERD_commenter.txt ~/.vim/doc"
end
desc "Create a zip archive for release to vim.org"
task :zip do
abort "NERD_commenter.zip already exists, aborting" if File.exist?("NERD_commenter.zip")
run "zip NERD_commenter.zip plugin/NERD_commenter.vim doc/NERD_commenter.txt"
end
def run(cmd)
puts "Executing: #{cmd}"
system cmd
end

View File

@@ -8,7 +8,7 @@
==============================================================================
CONTENTS *NERDCommenterContents*
CONTENTS *NERDCommenterContents*
1.Intro...................................|NERDCommenter|
2.Functionality provided..................|NERDComFunctionality|
@@ -16,8 +16,8 @@ CONTENTS *NERDCommenterContents*
2.2 Functionality Details.............|NERDComFunctionalityDetails|
2.2.1 Comment map.................|NERDComComment|
2.2.2 Nested comment map..........|NERDComNestedComment|
2.2.3 Toggle comment map..........|NERDComToggleComment|
2.2.4 Minimal comment map.........|NERDComMinimalComment|
2.2.3 Toggle comment map..........|NERDComToggleComment|
2.2.4 Minimal comment map.........|NERDComMinimalComment|
2.2.5 Invert comment map..........|NERDComInvertComment|
2.2.6 Sexy comment map............|NERDComSexyComment|
2.2.7 Yank comment map............|NERDComYankComment|
@@ -40,9 +40,9 @@ CONTENTS *NERDCommenterContents*
4.1 Delimiter detection heuristics....|NERDComHeuristics|
4.2 Nesting issues....................|NERDComNesting|
5.The author..............................|NERDComAuthor|
6.TODO list...............................|NERDComTodo|
7.Changelog...............................|NERDComChangelog|
8.Credits.................................|NERDComCredits|
6.Changelog...............................|NERDComChangelog|
7.Credits.................................|NERDComCredits|
8.License.................................|NERDComLicense|
==============================================================================
1. Intro *NERDCommenter*
@@ -66,30 +66,30 @@ provided that contains menu items corresponding to all the below mappings):
Most of the following mappings are for normal/visual mode only. The
|NERDComInsertComment| mapping is for insert mode only.
[count],cc |NERDComComment|
[count],cc |NERDComComment|
Comments out the current line or text selected in visual mode.
[count],cn |NERDComNestedComment|
[count],cn |NERDComNestedComment|
Same as |NERDComComment| but forces nesting.
[count],c<space> |NERDComToggleComment|
[count],c<space> |NERDComToggleComment|
Toggles the comment state of the selected line(s). If the topmost selected
line is commented, all selected lines are uncommented and vice versa.
[count],cm |NERDComMinimalComment|
[count],cm |NERDComMinimalComment|
Comments the given lines using only one set of multipart delimiters if
possible.
possible.
[count],ci |NERDComInvertComment|
[count],ci |NERDComInvertComment|
Toggles the comment state of the selected line(s) individually. Each selected
line that is commented is uncommented and vice versa.
[count],cs |NERDComSexyComment|
Comments out the selected lines ``sexually''
[count],cs |NERDComSexyComment|
Comments out the selected lines ``sexily''
[count],cy |NERDComYankComment|
@@ -97,37 +97,37 @@ Same as |NERDComComment| except that the commented line(s) are yanked
before commenting.
,c$ |NERDComEOLComment|
,c$ |NERDComEOLComment|
Comments the current line from the cursor to the end of line.
,cA |NERDComAppendComment|
,cA |NERDComAppendComment|
Adds comment delimiters to the end of line and goes into insert mode between
them.
,cI |NERDComPrependComment|
,cI |NERDComPrependComment|
Adds comment delimiters to the start of line and goes into insert mode between
them.
<C-c> |NERDComInsertComment|
<C-c> |NERDComInsertComment|
Adds comment delimiters at the current cursor position and inserts between.
,ca |NERDComAltDelim|
,ca |NERDComAltDelim|
Switches to the alternative set of delimiters.
[count],cl
[count],cr
[count],cb |NERDComAlignedComment|
[count],cl
[count],cr
[count],cb |NERDComAlignedComment|
Same as |NERDComComment| except that the delimiters are aligned down the
left side (,cl), the right side (,cr) or both sides
(,cb).
[count],cu |NERDComUncommentLine|
[count],cu |NERDComUncommentLine|
Uncomments the selected line(s).
------------------------------------------------------------------------------
@@ -137,8 +137,8 @@ Uncomments the selected line(s).
2.2.1 Comment map *NERDComComment*
Default mapping: [count],cc
Change the mapping with: NERDComLineMap.
Applicable modes: normal visual visual-line visual-block.
Change the mapping with: NERDComLineMap.
Applicable modes: normal visual visual-line visual-block.
Comments out the current line. If multiple lines are selected in visual-line
@@ -157,12 +157,12 @@ Change the mapping with: NERDComLineNestMap.
Applicable modes: normal visual visual-line visual-block.
Performs nested commenting. Works the same as ,cc except that if a
line is already commented then it will be commented again.
line is already commented then it will be commented again.
If |NERDUsePlaceHolders| is set then the previous comment delimiters will
be replaced by place-holder delimiters if needed. Otherwise the nested
comment will only be added if the current commenting delimiters have no right
delimiter (to avoid syntax errors)
delimiter (to avoid syntax errors)
If a [count] is given in normal mode, the mapping works as though that many
lines were selected in visual-line mode.
@@ -171,15 +171,15 @@ Related options:
|NERDDefaultNesting|
------------------------------------------------------------------------------
2.2.3 Toggle comment map *NERDComToggleComment*
2.2.3 Toggle comment map *NERDComToggleComment*
Default mapping: [count],c<space>
Default mapping: [count],c<space>
Change the mapping with: NERDComLineToggleMap.
Applicable modes: normal visual-line.
Toggles commenting of the lines selected. The behaviour of this mapping
depends on whether the first line selected is commented or not. If so, all
selected lines are uncommented and vice versa.
selected lines are uncommented and vice versa.
With this mapping, a line is only considered to be commented if it starts with
a left delimiter.
@@ -188,7 +188,7 @@ If a [count] is given in normal mode, the mapping works as though that many
lines were selected in visual-line mode.
------------------------------------------------------------------------------
2.2.4 Minimal comment map *NERDComMinimalComment*
2.2.4 Minimal comment map *NERDComMinimalComment*
Default mapping: [count],cm
Change the mapping with: NERDComLineMinimalMap
@@ -212,13 +212,13 @@ lines were selected in visual-line mode.
------------------------------------------------------------------------------
2.2.5 Invert comment map *NERDComInvertComment*
Default mapping: ,ci
Default mapping: ,ci
Change the mapping with: NERDComLineInvertMap.
Applicable modes: normal visual-line.
Inverts the commented state of each selected line. If the a selected line is
commented then it is uncommented and vice versa. Each line is examined and
commented/uncommented individually.
commented/uncommented individually.
With this mapping, a line is only considered to be commented if it starts with
a left delimiter.
@@ -229,13 +229,13 @@ lines were selected in visual-line mode.
------------------------------------------------------------------------------
2.2.6 Sexy comment map *NERDComSexyComment*
Default mapping: [count],cs
Default mapping: [count],cs
Change the mapping with: NERDComLineSexyMap
Applicable modes: normal, visual-line.
Comments the selected line(s) ``sexily''... see |NERDComSexyComments| for
a description of what sexy comments are. Can only be done on filetypes for
which there is at least one set of multipart comment delimiters specified.
which there is at least one set of multipart comment delimiters specified.
Sexy comments cannot be nested and lines inside a sexy comment cannot be
commented again.
@@ -249,31 +249,31 @@ Related options:
------------------------------------------------------------------------------
2.2.7 Yank comment map *NERDComYankComment*
Default mapping: [count],cy
Default mapping: [count],cy
Change the mapping with: NERDComLineYankMap
Applicable modes: normal visual visual-line visual-block.
Same as ,cc except that it yanks the line(s) that are commented first.
Same as ,cc except that it yanks the line(s) that are commented first.
------------------------------------------------------------------------------
2.2.8 Comment to EOL map *NERDComEOLComment*
Default mapping: ,c$
Change the mapping with: NERDComToEOLMap
Default mapping: ,c$
Change the mapping with: NERDComToEOLMap
Applicable modes: normal.
Comments the current line from the current cursor position up to the end of
the line.
the line.
------------------------------------------------------------------------------
2.2.9 Append com to line map *NERDComAppendComment*
Default mapping: ,cA
Change the mapping with: NERDAppendComMap.
Default mapping: ,cA
Change the mapping with: NERDAppendComMap.
Applicable modes: normal.
Appends comment delimiters to the end of the current line and goes
to insert mode between the new delimiters.
to insert mode between the new delimiters.
------------------------------------------------------------------------------
2.2.10 Prepend com to line map *NERDComPrependComment*
@@ -283,17 +283,17 @@ Change the mapping with: NERDPrependComMap.
Applicable modes: normal.
Prepends comment delimiters to the start of the current line and goes to
insert mode between the new delimiters.
insert mode between the new delimiters.
------------------------------------------------------------------------------
2.2.11 Insert comment map *NERDComInsertComment*
Default mapping: <C-c>
Change the mapping with: NERDComInInsertMap.
Change the mapping with: NERDComInInsertMap.
Applicable modes: insert.
Adds comment delimiters at the current cursor position and inserts
between them.
between them.
------------------------------------------------------------------------------
2.2.12 Use alternate delims map *NERDComAltDelim*
@@ -304,21 +304,21 @@ Applicable modes: normal.
Changes to the alternative commenting style if one is available. For example,
if the user is editing a c++ file using // comments and they hit ,ca
then they will be switched over to /**/ comments.
then they will be switched over to /**/ comments.
See also |NERDComDefaultDelims|
------------------------------------------------------------------------------
2.2.13 Comment aligned maps *NERDComAlignedComment*
Default mappings: [count],cl [count],cr [count],cb
Default mappings: [count],cl [count],cr [count],cb
Change the mappings with: NERDComAlignLeftMap, NERDComAlignRightMap and
NERDComAlignBothMap.
Applicable modes: normal visual-line.
Same as ,cc except that the comment delimiters are aligned on the left
side, right side or both sides respectively. These comments are always nested
if the line(s) are already commented.
if the line(s) are already commented.
If a [count] is given in normal mode, the mapping works as though that many
lines were selected in visual-line mode.
@@ -326,7 +326,7 @@ lines were selected in visual-line mode.
------------------------------------------------------------------------------
2.2.14 Uncomment line map *NERDComUncommentLine*
Default mapping: [count],cu
Default mapping: [count],cu
Change the mapping with: NERDUncomLineMap.
Applicable modes: normal visual visual-line visual-block.
@@ -375,7 +375,7 @@ strace svn systemverilog tads taglist tags tak tasm tcl terminfo tex text
plaintex texinfo texmf tf tidy tli trasys tsalt tsscl tssgm uc uil vb verilog
verilog_systemverilog vgrindefs vhdl vim viminfo virata vo_base vrml vsejcl
webmacro wget winbatch wml wvdial xdefaults xf86conf xhtml xkb xmath xml
xmodmap xpm2 xpm xslt yacc yaml z8a
xmodmap xpm2 xpm xslt yacc yaml z8a
If a language is not in the list of hardcoded supported filetypes then the
&commentstring vim option is used.
@@ -390,7 +390,7 @@ one other marker symbol. For example: >
*/
/* This is a c style sexy comment
* So there!
* So there!
* But this one is ``compact'' style */
<
Here the multipart delimiters are /* and */ and the marker is *. The NERD
@@ -402,9 +402,9 @@ commenter is capable of adding and removing comments of this type.
All of the NERD commenter mappings and menu items invoke a single function
which delegates the commenting work to other functions. This function is
public and has the prototype: >
function! NERDComment(isVisual, type)
function! NERDComment(isVisual, type)
<
The arguments to this function are simple:
The arguments to this function are simple:
- isVisual: if you wish to do any kind of visual comment then set this to
1 and the function will use the '< and '> marks to find the comment
boundries. If set to 0 then the function will operate on the current
@@ -418,7 +418,7 @@ For example, if you typed >
:call NERDComment(1, 'sexy')
<
then the script would do a sexy comment on the last visual selection.
==============================================================================
3. Options *NERDComOptions*
@@ -450,7 +450,7 @@ then the script would do a sexy comment on the last visual selection.
|NERDRemoveExtraSpaces| Tells the script to always remove the
extra spaces when uncommenting
(regardless of whether NERDSpaceDelims
is set)
is set)
|NERDRPlace| Specifies what to use as the right
delimiter placeholder when nesting
comments.
@@ -466,7 +466,7 @@ then the script would do a sexy comment on the last visual selection.
------------------------------------------------------------------------------
3.3 Options details *NERDComOptionsDetails*
To enable any of the below options you should put the given line in your
To enable any of the below options you should put the given line in your
~/.vimrc
*loaded_nerd_comments*
@@ -476,7 +476,7 @@ option >
<
------------------------------------------------------------------------------
*NERDAllowAnyVisualDelims*
Values: 0 or 1.
Values: 0 or 1.
Default: 1.
If set to 1 then, when doing a visual or visual-block comment (but not a
@@ -489,7 +489,7 @@ example if we are editing the following java code: >
System.out.println(foo * bar);
<
If we are using // comments and select the "foo" and "bar" in visual-block
mode, as shown left below (where '|'s are used to represent the visual-block
mode, as shown left below (where '|'s are used to represent the visual-block
boundary), and comment it then the script will use the alternative delims as
shown on the right: >
@@ -499,7 +499,7 @@ shown on the right: >
<
------------------------------------------------------------------------------
*NERDBlockComIgnoreEmpty*
Values: 0 or 1.
Values: 0 or 1.
Default: 1.
This option affects visual-block mode commenting. If this option is turned
@@ -516,7 +516,7 @@ For example, if you are commenting this chunk of c code in visual-block mode
| | while(1){
| | fork();
| | }
|} |
|} |
<
If NERDBlockComIgnoreEmpty=0 then this code will become: >
#include <sys/types.h>
@@ -527,7 +527,7 @@ If NERDBlockComIgnoreEmpty=0 then this code will become: >
/* */ while(1){
/* */ fork();
/* */ }
/*} */
/*} */
<
Otherwise, the code block would become: >
#include <sys/types.h>
@@ -538,7 +538,7 @@ Otherwise, the code block would become: >
while(1){
fork();
}
/*} */
/*} */
<
------------------------------------------------------------------------------
*NERDCommentWholeLinesInVMode*
@@ -629,7 +629,7 @@ set NERDRemoveExtraSpaces to 0.
*NERDLPlace*
*NERDRPlace*
Values: arbitrary string.
Default:
Default:
NERDLPlace: "[>"
NERDRPlace: "<]"
@@ -637,8 +637,8 @@ These options are used to control the strings used as place-holder delimiters.
Place holder delimiters are used when performing nested commenting when the
filetype supports commenting styles with both left and right delimiters.
To set these options use lines like: >
let NERDLPlace="FOO"
let NERDRPlace="BAR"
let NERDLPlace="FOO"
let NERDRPlace="BAR"
<
Following the above example, if we have line of c code: >
/* int horse */
@@ -654,7 +654,7 @@ Values: arbitrary string.
Default: \c
NERDMapleader is used to specify what all the NERD commenter key mappings
begin with.
begin with.
The default key mappings will look like this: >
\cc
@@ -688,7 +688,7 @@ This option can take 4 values:
"1": Turns the 'comment' menu on with no menu shortcut.
"2": Turns the 'comment 'menu on with <alt>-c as the shortcut.
"3": Turns the 'Plugin -> comment' menu on with <alt>-c as the shortcut.
------------------------------------------------------------------------------
*NERDUsePlaceHolders*
Values: 0 or 1.
@@ -733,10 +733,10 @@ Some people may want their sexy comments to be like this: >
* in c */
<
As opposed to like this: >
/*
/*
* Hi There!
* This is a sexy comment
* in c
* in c
*/
<
If this option is set to 1 then the top style will be used.
@@ -769,11 +769,11 @@ See |NERDComAltDelim| for switching commenting styles at runtime.
These options are used to override the default keys that are used for the
commenting mappings. Their values must be set to strings. As an example: if
you wanted to use the mapping ,foo to uncomment lines of code then
you wanted to use the mapping ,foo to uncomment lines of code then
you would place this line in your vimrc >
let NERDUncomLineMap=",foo"
<
Check out |NERDComFunctionality| for details about what the following
Check out |NERDComFunctionality| for details about what the following
mappings do.
Default Mapping Option to override~
@@ -793,7 +793,7 @@ Default Mapping Option to override~
,c$ NERDComToEOLMap
,cy NERDComLineYankMap
,cu NERDUncomLineMap
==============================================================================
4. Issues with the script *NERDComIssues*
@@ -809,7 +809,7 @@ delimiters appear in a line doesnt mean they really ARE delimiters. For
example, Java uses // comments but the line >
System.out.println("//");
<
clearly contains no real comment delimiters.
clearly contains no real comment delimiters.
To distinguish between ``real'' comment delimiters and ``fake'' ones we use a
set of heuristics. For example, one such heuristic states that any comment
@@ -839,7 +839,7 @@ will become: >
for simplicity)
==============================================================================
6. The author *NERDComAuthor*
5. The author *NERDComAuthor*
The author of the NERD commenter is Martyzillatron --- the half robot, half
dinosaur bastard son of Megatron and Godzilla. He enjoys destroying
@@ -850,15 +850,47 @@ its a lonely life being the worlds premier terror machine. How would you feel
if your face looked like a toaster and a t-rex put together? :(
==============================================================================
7. TODO list *NERDComTodo*
7. Changelog *NERDComChangelog*
Uncommenting of minimal comments needs to be more robust. Currently it is easy
to get illegal syntax when uncommenting them.
2.1.15
- added pamconf support, thanks to Martin Kustermann
- added mason support, thanks to Indriði Einarsson
- added map support, thanks to Chris
- added bzr support, thanks to Stromnov
- added group support, thanks to Krzysztof A. Adamski
- change license to wtfpl
2.1.14
- added support for gitconfig, tar, nerdtree
- added support for dtrace, thanks to nicothakis for the post
2.1.13
- added support for rib, pyrex/cython, liquid, services, gitcommit,
vimperator, and slice. Thanks to spookypeanut, Greg Jandl, Christophe
Benz, A Pontus, and Stromnov for emailing me and/or posting issues.
- set the NERDRemoveExtraSpaces option to 1 by default as the doc states
- other fixes: (thanks to Zhang Shuhan for all his emails and testing)
* made the sexy comment mapping fall back to normal commenting if sexy
comments arent possible for the current filetype
* fixed some bugs with sexy comments
* made the uncommenting side of toggle comments slightly more robust
* fixed a bug where some extra spaces werent being removed (although
the currect options were set)
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).
==============================================================================
8. Changelog *NERDComChangelog*
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
@@ -866,7 +898,7 @@ to get illegal syntax when uncommenting them.
nicothakis for posting the issue
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
- added dummy support for lhaskell, thx to pipp for posting the issue
- added an alternative set of delims for the plsql filetype, thx to Kuchma
@@ -876,7 +908,7 @@ to get illegal syntax when uncommenting them.
- 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
- added support for haml, thx to Greb Weber
@@ -955,7 +987,7 @@ to get illegal syntax when uncommenting them.
- Made it so that the NERDShutUp option now only controls the "Pleeease
email the delimiters..." requests. It no longer affects the general
output of the script.
- Simplified the names of the help tags.
- Simplified the names of the help tags.
2.0.5
- Added support for autoit, autohotkey and docbk filetypes (thanks to
@@ -996,7 +1028,7 @@ to get illegal syntax when uncommenting them.
2.0.0:
- NOTE: renamed the script to NERD_commenter.vim. When you install this
version you must delete the old files: NERD_comments.vim and
version you must delete the old files: NERD_comments.vim and
NERD_comments.txt.
- Reworked the mappings and main entry point function for the script to
avoid causing visual-bells and screen scrolling.
@@ -1011,7 +1043,7 @@ to get illegal syntax when uncommenting them.
ways)
- Some have been removed altogether, namely: NERD_create_h_filetype
(why was a commenting script creating a filetype?!),
NERD_left_align_regexp, NERD_right_align_regexp,
NERD_left_align_regexp, NERD_right_align_regexp,
- Removed all the NERD_use_alt_style_XXX_coms options and replaced them
with a better system. Now if a filetype has alternative delims, the
@@ -1026,31 +1058,31 @@ to get illegal syntax when uncommenting them.
filetypes.
- Added '#' comments as an alternative for the asm filetype
Thanks to Markus Klinik and Anders for bug reports, and again to Anders
for his patch. Thanks to John O'Shea and fREW for the filetype
information.
Thanks to Markus Klinik and Anders for bug reports, and again to Anders
for his patch. Thanks to John O'Shea and fREW for the filetype
information.
==============================================================================
8. Credits *NERDComCredits*
7. Credits *NERDComCredits*
Thanks and respect to the following people:
Thanks to Nick Brettell for his many ideas and criticisms. A bloody good
bastard.
bastard.
:normal :.-2s/good//
Thanks to Matthew Hawkins for his awesome refactoring!
Thanks to the authors of the vimspell whose documentation
Thanks to the authors of the vimspell whose documentation
installation function I stole :)
Thanks to Greg Searle for the idea of using place-holders for nested comments.
Thanks to Nguyen for the suggestions and pointing the h file highlighting bug!
Also, thanks for the idea of doing sexy comments as well as his suggestions
relating to it :P
Thanks again to Nguyen for complaining about the NERD_comments menu mapping
(<Alt>-c) interfering with another mapping of his... and thus the
relating to it :P
Thanks again to Nguyen for complaining about the NERD_comments menu mapping
(<Alt>-c) interfering with another mapping of his... and thus the
NERD_dont_create_menu_shortcut option was born :P
(it was then replaced with NERD_menu_mode in version 1.67 :)
@@ -1104,7 +1136,7 @@ sexy comments. Sexy comments dont look so sexy when they are only half removed
Thanks to Alexander "boesi" Bosecke for pointing out a bug that was stopping
the NERD_space_delim_filetype_regexp option from working with left aligned
toggle comments. And for pointing out a bug when initialising VB comments.
toggle comments. And for pointing out a bug when initialising VB comments.
Thanks to Stefano Zacchiroli for suggesting the idea of "Minimal comments".
And for suggested improvements to minimal comments.
@@ -1149,6 +1181,14 @@ 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.
Thanks to Zhang Shuhan for sending me a report about spaces not being removed
properly in some circumstances. Also, thanks for emailing me a bunch of bug
reports about sexy/toggle comments and for testing my fixes.
Thanks to tpope for the english lesson.
Not to forget! Thanks to the following people for sending me new filetypes to
support :D
@@ -1171,7 +1211,7 @@ Lizendir fstab
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
@@ -1189,12 +1229,32 @@ tinoucas gentoo-conf-d
Greg Weber D, haml
Bruce Sherrod velocity
timberke cobol
Aaron Schaefer factor
Laurent ARNOUD asterisk
Aaron Schaefer factor
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, dtrace
Chen Xing Wikipedia
Jacobo Diaz dakota, patran
Li Jin gentoo-env-d, gentoo-init-d,
gentoo-make-conf, grub, modconf, sudoers
SpookeyPeanut rib
Greg Jandl pyrex/cython
Christophe Benz services, gitcommit
A Pontus vimperator
Stromnov slice, bzr
Martin Kustermann pamconf
Indriði Einarsson mason
Chris map
Krzysztof A. Adamski group
==============================================================================
8. License *NERDComLicense*
The NERD commenter is released under the wtfpl.
See http://sam.zoy.org/wtfpl/COPYING.

File diff suppressed because it is too large Load Diff