Commit Graph

221 Commits

Author SHA1 Message Date
York Wong
c73514084a change the comment style for systemtap (.stp) 2013-08-18 14:47:39 +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
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