heartsentwined
7770913088
add support for emblem
2013-04-17 10:00:03 +08:00
heartsentwined
785026abef
add support for ember-script
2013-04-08 17:49:46 +08:00
Jeremy Huffman
58e34664d2
add elixir language support
2013-03-25 22:02:46 -04:00
ervandew
4f3d9c0e12
only use g:NERDDefaultDelims if no filetype has been set
2013-02-11 15:03:07 -08:00
ervandew
0c04654498
add config support for default delims
...
if there are no configured delims for the current filetype, allow the
default delims to be defined by a global setting since c style comment
delims are not always the best defaults for everyone.
2013-02-06 07:54:06 -08:00
Andres Monge
00e41958df
Corrected the SQL comment keys
...
the SQL from some strick ones, such as procedures or mySql needs an extra space after the '--' comment. so it would be '-- ' the correct sintaxis for the comment
2013-01-10 10:12:19 +01:00
Parker
ab1fe7f5f0
Support for racket language.
2013-01-09 11:54:35 -07:00
Martin Grenfell
c3756d1ecc
Merge pull request #79 from DawidJanczak/master
...
Add rspec flietype
2013-01-03 03:16:00 -08:00
Martin Grenfell
8cf43a4057
Merge pull request #91 from sietse/patch-1
...
Update plugin/NERD_commenter.vim
2013-01-03 03:15:41 -08:00
Martin Grenfell
7b127e63aa
Merge pull request #98 from johntyree/patch-2
...
Remove extra space from Haskell alt.
2013-01-03 03:14:41 -08:00
John Tyree
eb5720c365
Remove extra space from Haskell alt.
2013-01-03 12:10:29 +01:00
John Tyree
fa7c2cdc2a
Update plugin/NERD_commenter.vim
...
Cuda is the same as C.
2013-01-03 12:08:52 +01:00
Martin Grenfell
f87a5f4b51
Merge pull request #88 from jchain/master
...
I did a tiny change to add comment support for Octave filetype
2012-12-09 03:12:49 -08:00
sietse
362f6706c6
Update plugin/NERD_commenter.vim
...
Add comment delimiters for ConTeXt (the alternative delimiters are for Lua code).
2012-11-05 14:52:39 +01:00
6ahodir
b660938045
adding vala support
2012-11-01 01:22:33 -04:00
John Chain
1eb2eba5d3
Added comment support for Octave (a opensource Matlab clone)
2012-10-24 20:52:23 -05:00
Martin Grenfell
06cf7e7c38
Merge pull request #86 from inkarkat/fix-insert-mode-plug-mapping
...
Fix insert-mode <plug>NERDCommenterInsert mapping.
2012-10-23 15:10:03 -07:00
Ingo Karkat
e5f6111856
Avoid beep and additional space on insert-mode commenting at EOL.
...
When adding a comment at the end of a line (a common use when typing straight ahead) that only has a left part (like with ft=cpp, where the comment string is "// "), there is an audible beep and an additional space character is inserted (yielding "// ").
Suppress the attempted cursor move to the right (which fails in that case) via :silent!.
Use :startinsert! (with a bang) to continue editing at the end of the line instead of the workaround that inserts an additional space.
2012-10-23 15:35:44 +02:00
Ingo Karkat
f4b1a46a41
Fix insert-mode <plug>NERDCommenterInsert mapping.
...
This was broken by the refactoring that introduced s:CreateMaps().
2012-10-23 15:19:36 +02:00
Chris Miller
4c03b5ac3f
Added SCons (Python DSL).
2012-10-03 14:39:32 -06:00
Dawid Janczak
e983cf27e7
Add rspec filetype.
...
Since some plugins set filetype of RSpec spec files to rspec, the
filetype has been added to list of types.
The comment string itself is the same as in Ruby files.
2012-07-17 19:50:59 +02:00
Martin Grenfell
baa453aad8
fix a bug from pull request #69 - doh
2012-06-19 11:15:07 +01:00
Martin Grenfell
7d49ac038d
Merge pull request #67 from sbl/master
...
add support for the supercollider language
2012-06-19 01:47:48 -07:00
Martin Grenfell
d64d909c9e
Merge pull request #69 from gordio/master
...
Add Go support
2012-06-19 01:47:28 -07:00
Martin Grenfell
27979e7194
Merge pull request #72 from flxf/master
...
Add mustache support
2012-06-19 01:46:51 -07:00
Martin Grenfell
fc04e4e8c1
Merge pull request #76 from peterhost/master
...
add support for aspvbs leftalt comment
2012-06-19 01:43:01 -07:00
Martin Grenfell
6f69cbcdd8
Merge pull request #77 from jdonaldson/master
...
update for haxe/hxml files
2012-06-19 01:38:17 -07:00
DSIW
7b78a83120
Added support for CoffeeScript
2012-06-19 00:56:16 +03:00
Justin Donaldson
1671f8aa71
adding hx/hxml support
2012-06-03 20:00:13 -07:00
Peter Host
6e020aa61c
add support for aspvbs leftalt comment
...
This can be discussed, but I do find it useful to be able and
use HTML commenting as an alternative cause what else lies in an
asp classic page anyway,... but html ;)
2012-06-03 22:26:02 +02:00
Felix Fung
2f62560dd6
Add mustache support
2012-05-04 05:23:57 -07:00
gordio
d16e2ab1cf
Add comment style for Google Go language
2012-04-15 05:14:09 +03:00
Stephen Lumenta
e2e786c59f
Added support for the supercollider language
...
http://supercollider.sourceforge.net/
2012-03-27 16:00:00 +02:00
Martin Grenfell
cb242a9cb4
Merge pull request #62 from jimmyharris/master
...
added support for arm assembly syntax
2012-03-27 06:40:28 -07:00
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
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
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
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
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
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
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
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