Commit Graph

494 Commits

Author SHA1 Message Date
Charles Strahan
fc1988e573 Add fsharp comment delimiters. 2012-03-18 13:04:58 -03:00
Martin Grenfell
93cdbafd7f fix repeat for visual-line comments
this is still broken for visual and visual-block commenting
2012-03-12 10:24:38 +00:00
Martin Grenfell
20e089f6b9 Merge pull request #63 from inkarkat/add-repeat-support
Make mappings repeatable with . through repeat.vim
2012-03-12 03:21:11 -07:00
Ingo Karkat
4dd72ab0af Make mappings repeatable with . through repeat.vim
Use of repeat.vim is purely optional, but very beneficial for typical commenting uses.
2012-03-12 10:42:38 +01:00
James Harris
ddb2952fdc Added support for Arm Assembly 2012-02-19 16:48:47 -06:00
Martin Grenfell
98cec44ef6 Merge pull request #59 from chreekat/master
Support for Cabal, haskell's package system.
2012-01-30 01:43:34 -08:00
Bryan Richter
86f4d493d9 Adds support for Cabal, Haskell's package system.
http://www.haskell.org/cabal/users-guide/#package-descriptions
2012-01-29 15:52:17 -08:00
Martin Grenfell
f4d9f99f67 fix a bug with the key combos on the comment menu
Previously the maps on the menus werent changing when mapleader was
changed - this was because we were looking for a local mapleader var
instead of global
2012-01-13 09:32:02 +00:00
Martin Grenfell
8f2af9a6d7 update the NERDComment() doc 2012-01-02 21:08:24 +00:00
Martin Grenfell
006a151a43 make the NERDComment() type arg case insensitive 2012-01-02 21:08:03 +00:00
Martin Grenfell
0c75ae7e7b make NERDComment a global function again 2012-01-02 10:24:41 +00:00
Martin Grenfell
27580f8777 Merge pull request #55 from ryanwood/master
Add syntax support for slim templates
2012-01-01 15:42:48 -08:00
Ryan Wood
fb4df3e71b Add syntax support for slim templates 2011-12-31 13:24:44 -05:00
Martin Grenfell
0fe4938d22 Merge pull request #37 from panthomakos/master
Add syntax for comments in Ruby
2011-12-14 08:39:29 -08:00
Martin Grenfell
63bf3811ce Merge pull request #46 from peterhost/master
add support for scss leftalt comment
2011-12-14 08:37:10 -08:00
Martin Grenfell
2c3409d97f Merge pull request #48 from chreekat/master
More Haskell support
2011-12-14 08:36:48 -08:00
Martin Grenfell
95d04c69a2 Merge pull request #51 from benjifisher/master
Add maps (keyboard shortcuts) to GUI menu items.
2011-12-14 08:33:13 -08:00
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
Peter Host
4a91777538 add comments for jade templating engine 2011-12-04 22:33:18 +01:00
Bryan Richter
d5fed4daff Adds support for literate Haskell.
Since literate code has anti-comments this might be a hack, but it works well
enough. :)
2011-10-25 10:02:03 -07:00
Bryan Richter
a346df98e7 Ensures Haskell's leftAlt isn't part of lexeme.
From the report(s):

    An ordinary comment begins with a sequence of two or more consecutive dashes
    (e.g. --) and extends to the following newline. The sequence of dashes must
    not form part of a legal lexeme. For example, “-->” or “|--” do not begin a
    comment, because both of these are legal lexemes; however “--foo” does start
    a comment.

                            Haskell98:   http://goo.gl/CucLL
                            Haskell2010: http://goo.gl/1OYzN
2011-10-25 09:56:54 -07:00
Peter Host
0a30bbe20c add support for scss leftalt comment
- scss uses '//' as an alternative (scss only) for comments, which
  are stripped from the scss file at css generation time
2011-10-24 17:24:19 +02: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
Pan Thomakos
1b78f253c2 Added syntax for comments in Ruby. 2011-05-26 11:52:36 -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