Commit Graph

219 Commits

Author SHA1 Message Date
Benji Fisher
785ad99c0b Various fixes, simplifications, improvements to s:NERDComment() and s:CreateMaps(). Updated docs. 2011-12-14 10:39:27 -05:00
Benji Fisher
0bffc1a119 Moved the <plug> mappings into s:CreateMaps(). 2011-12-12 22:28:48 -05:00
Benji Fisher
5dc223d8a6 Changed arguments to NerdComment() to make it easier to call from CreateMaps(). 2011-12-12 11:10:19 -05:00
Benji Fisher
f198e9ffce Replaced raw CTRL-V with \<C-V> 2011-12-12 10:30:17 -05:00
Benji Fisher
22e798edf5 Replaced a loop with a call to extend(). 2011-12-12 10:13:28 -05:00
Benji Fisher
a3ecc6dab5 Changed :vmap and :vmenu to :xmap and :xmenu. 2011-12-12 08:18:47 -05:00
Benji Fisher
754d5a5b2e Merge remote branch 'upstream/master' 2011-12-12 07:20:51 -05:00
Martin Grenfell
e777829d34 Merge pull request #52 from gonzaloserrano/master
twig templates support
2011-12-11 06:01:06 -08:00
Gonzalo Serrano
d4a5479c2c Twig templates support added. 2011-12-11 11:03:59 +01:00
Benji Fisher
68cfa2f3c5 Changed s:CreateMenuItems() to the shorter s:CreateMaps(). 2011-12-06 11:33:56 -05:00
Benji Fisher
0bb5f7e889 Removed s:CreateMaps(), adding its functionality to s:CreateMenuItems(). 2011-12-06 11:29:25 -05:00
Benji Fisher
9b9c253680 Added keyboard shortcuts to the GUI menu. 2011-12-06 10:54:28 -05:00
Benji Fisher
1d40b1965c Replaced global variable menuRoot with a function-local variable. 2011-12-06 10:01:35 -05:00
Benji Fisher
b141adda9e Replaced all :exec 'menu' lines with calls to s:CreateMenuItems(). 2011-12-06 09:56:48 -05:00
Benji Fisher
e5b158fe75 Added modes argument, deleted root argument from s:CreateMenuItems(). 2011-12-06 09:33:21 -05:00
Martin Grenfell
b28e7be632 Merge pull request #39 from mattr-/patch-1
Add the puppet file type to the delimiter map.
2011-07-21 17:36:40 -07:00
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
Martin Grenfell
5a9371437f Merge pull request #30 from sgharms/master
Steven-proofed the documentation, ties to VimDoc
2011-05-05 18:56:29 -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
Martin Grenfell
4e5456522d Merge pull request #36 from ches/multipart-with-appended-fix
End-of-line comments within a multipart block get uncommented when they shouldn't
2011-05-05 18:42:11 -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
Steven G. Harms
b4d04f36c5 Adds vimdoc linking for '<leader>' as '<Leader>'
* '<leader>' is not recognized by vimdoc
* '<Leader>' is!
* Binding this  in '|' keeps proper anchoring of the term to
  '<Leader>' or 'mapleader'
* Prevents questions like:
  https://github.com/scrooloose/nerdcommenter/issues/29
2011-03-04 02:51:17 -08: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
5dcab6ec82 fix a type in the doc 2011-02-08 17:03:11 +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
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
f8be02f10a doc the new NERDCustomDelimiters option 2011-02-06 09:23:26 +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