Commit Graph

314 Commits

Author SHA1 Message Date
Matt Rogers
cdb6db91cc Add the puppet file type to the delimiter map.
This should provide NERDcommenter the ability to comment puppet manifests
2011-07-21 13:58:34 -07:00
Pan Thomakos
1b78f253c2 Added syntax for comments in Ruby. 2011-05-26 11:52:36 -07:00
Martin Grenfell
ecb2715965 Merge pull request #35 from NilsHaldenwang/master
Added mirah.
2011-05-05 18:55:32 -07:00
Martin Grenfell
c83ec79110 Merge remote-tracking branch 'rshhh/master'
Conflicts:
	plugin/NERD_commenter.vim
2011-05-06 13:54:10 +12:00
Martin Grenfell
6bd08739c1 Merge pull request #34 from keitahaga/nimrod
Add support for Nimrod
2011-05-05 18:49:02 -07:00
Martin Grenfell
37f684dbe8 Merge pull request #28 from keitahaga/fancy
Support for Fancy
2011-05-05 18:46:04 -07:00
Martin Grenfell
b9e907d8fb Merge pull request #15 from jgoulah/master
fixed commenting for bash scripts
2011-05-05 18:43:42 -07:00
Ches Martin
d541c7d9b1 respect NERDRemoveAltComs when uncommenting multipart blocks 2011-05-01 22:34:39 +07:00
Ches Martin
f98f73221c Clean up duplicate code 2011-05-01 22:34:16 +07:00
Nils Haldenwang
cb7bdd553a Added mirah. 2011-04-07 21:47:43 +02:00
Keita Haga
afe8d0d3fe add support for Nimrod 2011-04-04 19:13:13 +09:00
Martin Grenfell
38630ff5eb add support for coldfusion 2011-04-02 12:57:25 +13:00
rshhh
27b0ebe8d6 Add nginx script support 2011-03-22 01:33:46 +09:00
Keita Haga
3df2ca5285 add support for Fancy 2011-03-01 19:50:22 +09:00
Keita Haga
c8d8318257 add support for ooc 2011-03-01 00:17:31 +09:00
Martin Grenfell
94cce2cc54 make NERDRemoveExtraSpaces default to 0
this was causing problems with people who were using left aligned
comments without NERDSpaceDelims set as it was incorrectly stripping out
extra spaces
2011-02-22 11:28:35 +13:00
othree
63b252ad40 add support for less and scss 2011-02-15 14:52:37 +08:00
Martin Grenfell
2b60d872ba Merge remote branch 'zhon/master' 2011-02-08 17:36:58 +13:00
Martin Grenfell
0bcdac6c38 use html delimiters as the alt delimiters for gsp 2011-02-08 10:59:53 +13:00
Tuncer Ayaz
5084aa7653 Add alternative ('%%') Erlang delimiter 2011-02-08 04:40:08 +08:00
ervandew
69a575e70a merge in upstream master 2011-02-05 14:24:10 -08:00
Martin Grenfell
197ce731be improve handling for compound filetypes
now we check each part of the compound filetype until we find a part we
know how to handle

e.g. if the filetype is foo.bar.php.java then delimiters will get set
for php
2011-02-06 09:35:14 +13:00
Martin Grenfell
90cf828ac0 add NERDCustomDelimiters option
this allows users to override or specify delimiters for their own
filetypes outside of the script
2011-02-06 09:23:26 +13:00
Martin Grenfell
9f955640ee remove an unused option 2011-02-06 09:23:25 +13:00
Martin Grenfell
47d9833740 remove a stray macro that somehow got in the script ... 2011-02-06 09:23:25 +13:00
Martin Grenfell
1577f77ef4 make the script handle compound filetypes better 2011-02-06 09:23:25 +13:00
Martin Grenfell
17141e2244 rename the augroup to NERDCommenter 2011-02-06 09:23:25 +13:00
John Goulah
29f8ebc7f5 fixed commenting for perl scripts 2010-12-10 21:53:08 +00:00
John Goulah
ca6c791114 Merge branch 'master' of git://github.com/scrooloose/nerdcommenter 2010-12-10 21:50:06 +00:00
Anurag Priyam
760df35273 corrected comment delimiter for liquid filetype 2010-12-10 04:23:53 +08:00
marty
591dd3e1fd update version to 2.3.0 2010-12-08 09:39:07 +13:00
marty
24c68a6852 complain if the user doesnt have filetype plugins enabled 2010-12-08 09:34:13 +13:00
marty
ecf20b005c use echom instead of echo so the user can check :messages 2010-12-08 09:34:13 +13:00
zhon
59094ae107 add support for scheme 2010-12-03 20:50:32 -07:00
John Goulah
dc55b10bd7 fixed commenting for bash scripts 2010-11-29 16:53:34 +00:00
ervandew
8ed440ea20 add var for default align + add support for aligning at index 0 2010-11-06 17:42:06 -07:00
bryanv
930be32a23 Fix typeo in error message. 2010-09-24 12:57:21 +08:00
bryanv
d54bcbfc98 Fix bug when inverting sexy comments 2010-09-22 12:46:30 +08:00
Seth Woodworth
33e3ace742 updating 'last changed' field of header 2010-09-22 12:45:21 +08:00
marty
c0d7109c6b add gsp support 2010-09-11 10:49:19 +12:00
marty
02c726c6d1 make the mappings to being with <leader> 2010-08-02 22:45:02 +12:00
marty
d868eae71b refactor the GetLeft/GetRight methods
make their args an optional hash, and rename them to Left and Right
2010-08-02 22:45:02 +12:00
marty
e0191f2ce9 dont use b: vars to store the comment delim data, use a hash 2010-08-02 22:45:02 +12:00
marty
cea72da179 store all the comment delims in a hash, not a giant if statement 2010-08-02 22:45:02 +12:00
James Harris
9c8343c939 Added comment support for tmux.conf
tmux.conf has comments similar to bash, making the default C style
comments inappropriate.
2010-07-21 10:32:04 +08:00
Tim-Smart
bca88e735b s:CommentLinesSexy - Re-added missing line which prefixes whitespace to top delimiter 2009-09-11 22:11:50 +12:00
Tim-Smart
5d42b2ec5c s:CommentLinesSexy - Fixed issue #2 . Tabs now respected in sexy comments. 2009-09-11 22:11:39 +12:00
Arthur Debert
ae430a62fc Added support for python comments.
Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
2009-09-11 16:49:19 +08:00
Martin Grenfell
e32c0b9675 switch to version 2.2.2 2009-03-30 18:47:25 +13:00
Martin Grenfell
8176930f17 remove a useless comment 2009-03-30 18:34:08 +13:00
Martin Grenfell
88d6cc97a9 prefix all b: level vars with NERD 2009-03-30 18:33:15 +13:00
Martin Grenfell
7052ba60f4 remove spaces from delimiters when using &commentstring 2009-03-17 13:31:48 +13:00
Martin Grenfell
b32d2cfad2 remove all filetypes where the same &cms was set in vim 7.0 2009-03-11 15:55:02 +13:00
Martin Grenfell
437af04863 remove all "dummy support" filetypes 2009-03-11 14:55:13 +13:00
Martin Grenfell
eeb369e6be remove NERDShutup and the associated message 2009-03-11 14:51:29 +13:00
Martin Grenfell
b3d4476096 fix railslog filetype 2009-03-06 16:24:49 +13:00
Martin Grenfell
23aa888990 add support for pdf 2009-03-06 16:14:13 +13:00
Martin Grenfell
0bd4d5bbca fix sass delims 2009-03-06 16:12:29 +13:00
Martin Grenfell
11114745bd add support for cucumber 2009-03-06 15:01:02 +13:00
Martin Grenfell
81307ff269 fix the ruby filetype matching again 2009-01-30 15:22:41 +13:00
Martin Grenfell
f63b4f0987 use the ruby settings for all "sub-filetypes" of ruby 2009-01-30 13:20:52 +13:00
Martin Grenfell
4b680f34e9 add support for javascript.jquery 2009-01-15 13:05:49 +13:00
Martin Grenfell
19147a70cc make <%# %> the default for eruby 2009-01-15 12:07:33 +13:00
Martin Grenfell
caefbe56fd add support for javacc 2008-12-14 18:39:55 +13:00
Martin Grenfell
53d437a3c8 refactor out s:spaces 2008-12-09 21:58:48 +13:00
Martin Grenfell
a287b40a67 add support for htmlcheetah 2008-12-07 13:02:58 +13:00
Martin Grenfell
95c368779b add support for mp (metapost) filetype 2008-12-07 12:36:59 +13:00
Martin Grenfell
10c120478c fix alternative sass delimiters 2008-12-02 10:47:30 +13:00
Martin Grenfell
b7d141a3e6 bugfix to delimiter setup 2008-11-21 10:04:44 +13:00
Martin Grenfell
df299e7e22 match filetypes case insensitively 2008-11-17 22:07:41 +13:00
Martin Grenfell
40632f247f add support for dhcpd, limits, ntp, resolv, rgb, sysctl, udevconf, udevrules 2008-11-17 22:03:00 +13:00
Martin Grenfell
ee14557c87 switch to 2.2.1 2008-11-13 23:25:03 +13:00
Martin Grenfell
8098fea8d9 add support for objj 2008-11-13 23:23:48 +13:00
Martin Grenfell
7e3f47ed8d add support for sieve 2008-11-13 23:16:21 +13:00
Martin Grenfell
06683e3311 add support for SVNannotate 2008-11-13 22:57:08 +13:00
Martin Grenfell
dda8510e0c add support for conkyrc 2008-11-13 22:54:59 +13:00
Martin Grenfell
a0003bc926 add support for clojure 2008-11-13 22:40:00 +13:00
Martin Grenfell
ca94c70dba add support for genshi and mako 2008-11-13 22:37:02 +13:00
Martin Grenfell
44b4c26b86 add support for asciidoc, git, gitrebase and fix gitcommit 2008-11-13 22:31:37 +13:00
Martin Grenfell
5d8bb28113 add support for CVScommit 2008-11-06 20:45:46 +13:00
Martin Grenfell
f65d86fea3 add support for hostsaccess 2008-10-29 20:31:13 +13:00
Martin Grenfell
1d92203107 add support for ps1 2008-10-25 11:49:36 +13:00
Martin Grenfell
cc9f986514 add support for processing 2008-10-25 11:36:01 +13:00
Martin Grenfell
03d9562db8 add support for actionscript 2008-10-25 11:35:34 +13:00
Martin Grenfell
1301323179 make haml comments own more 2008-10-25 11:32:40 +13:00
Martin Grenfell
68bf65fcd2 fix automake comments 2008-10-12 22:14:01 +13:00
Martin Grenfell
aaf2471da7 add support for newlisp 2008-10-12 22:14:01 +13:00
Martin Grenfell
8dda3f17e0 always use :normal! instead of :normal 2008-10-04 12:13:10 +13:00
Martin Grenfell
ddd235757b switch to version 2.2.0 2008-10-04 00:07:40 +13:00
Martin Grenfell
fe71371c15 make the mappings start with comma (again) 2008-10-03 23:58:41 +13:00
Martin Grenfell
226063bfc1 add support for SVNinfo 2008-10-03 23:23:08 +13:00
Martin Grenfell
d6282ef7a3 add support for txt2tags 2008-10-03 23:19:31 +13:00
Martin Grenfell
c2a3f093ae remove prepend comments 2008-09-23 21:41:15 +12:00
Martin Grenfell
b8c5a4443c remove useless "align right" comments 2008-09-23 21:39:06 +12:00
Martin Grenfell
b54d3bbc92 rewrite the key mappings part of the script
internal <plug> mappings are now used for all the commenting operations.
Key mappings are no longer specified with options. Instead the user must
create their own mappings to the internal <plug> mappings.
2008-09-21 11:08:49 +12:00
Martin Grenfell
27e8727a35 add support for applescript 2008-09-09 22:51:57 +12:00
Martin Grenfell
e164c00246 add support for calibre 2008-09-09 22:49:30 +12:00
Martin Grenfell
134acc595e add support for man 2008-09-09 22:44:07 +12:00
Martin Grenfell
d3718d9d21 bugfix for haskell delimiters 2008-09-09 22:37:43 +12:00
Martin Grenfell
53558869a9 remove a redundant if statement 2008-09-01 00:16:58 +12:00
Martin Grenfell
0370366572 add support for SVNcommit 2008-08-02 14:51:45 +12:00
Martin Grenfell
a4453c01ee add support for potwiki 2008-07-28 22:52:34 +12:00
Martin Grenfell
377a04eeec add support for xquery 2008-07-27 22:11:34 +12:00
Martin Grenfell
709d01d074 add support for llvm 2008-07-27 22:09:45 +12:00
Martin Grenfell
2e9b7ca58e dont map the insert comment map if the key isnt set 2008-07-20 00:59:51 +12:00
Martin Grenfell
01d6c8c7f6 change version to 2.1.17 2008-07-19 21:03:39 +12:00
Martin Grenfell
89c008b644 disable the ctrl-c mapping by default 2008-07-19 21:02:52 +12:00
Martin Grenfell
165d1e3686 add support for stata 2008-07-13 12:09:22 +12:00
Martin Grenfell
4567fae10f add support for mailcap 2008-07-13 12:09:03 +12:00
Martin Grenfell
2ea675da5e made a hack fix to haskell comments 2008-07-01 23:18:08 +12:00
Martin Grenfell
8a0056a610 switch to version 2.1.16 2008-06-27 12:35:32 +12:00
Martin Grenfell
e466dd9418 fix compatibiltiy bug with vim 7.2 2008-06-27 12:35:02 +12:00
Martin Grenfell
a84365f174 switch version to 2.1.15 2008-06-22 12:09:48 +12:00
Martin Grenfell
dc8275ffa0 update the header comments 2008-06-22 12:08:11 +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
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
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
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
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
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
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
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
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
marty
08d14e7342 updated the version/last update comments 2008-01-18 23:21:04 +13:00
marty
532c58db62 added support for aap 2008-01-18 23:20:28 +13:00
marty
fb93d5869d added support for mrxvtrc, (SVN|SVK|CVS)Annotate 2008-01-18 23:18:20 +13:00
marty
78f182a601 made the NERDDefaultNesting option default to 1 2007-12-14 16:11:49 +13:00
marty
b6882e5d23 version bump and cleaned up the changelog a bit 2007-12-14 15:56:14 +13:00
marty
574f2841cc added support for assymptote 2007-12-14 15:53:12 +13:00
marty
023a62224e bugfix: fixed a bug with aligned comments and the NERDSpaceDelims option 2007-12-14 14:15:42 +13:00
marty
443eb8045e added dummy support for lhaskell 2007-12-14 12:52:15 +13:00
marty
ee3106ad45 bugfix: a bug was screwing up the removal of spaces when NERDSpaceDelims was set 2007-12-12 22:23:36 +13:00
marty
3161d57792 added new filetypes, updated plsql 2007-12-07 20:17:15 +13:00
marty
785bf61746 split out the help file 2007-11-30 13:25:20 +13:00
marty
2bc7a647fa added the nerd commenter 2007-11-30 12:56:11 +13:00