Commit Graph

471 Commits

Author SHA1 Message Date
Kaoru Kohashigawa
2bffc66a42 Update README.md 2015-02-15 09:44:28 -06:00
Claudio Maradonna
e1029104f1 Added Blade comment 2015-01-23 13:10:17 +01:00
Sebastian Witte
d4f41d2697 Use state variable to determine whether the alternate delimiters have already been switched 2015-01-14 18:14:08 +01:00
Kevin Ballard
dbe8023a70 Add delimiters for TOML 2014-12-09 15:04:59 -08:00
Jonatan Olofsson
536779375d Add support for tupfiles 2014-10-23 15:24:12 +02:00
Sebastian Witte
59c79279b5 Implement functionality to configure alternate comment style (fixes #145)
The change requires the variable to have global scope which is also updated in
the documentation.
2014-09-30 12:04:12 +02:00
Anton Panov
1b62184305 Add ruby multiline comment tags 2014-07-30 01:54:34 +04:00
Martin Grenfell
6549cfde45 make the delimitermap a global variable
This allows people to edit the delimiters at run time.

The option NERDCustomDelimiters can be used in a vimrc (or similar) but
is not useful after vim has loaded. So just open up the s:delimiterMap
hash.
2014-07-08 09:23:43 +01:00
svermeulen
f1a23cde6d Fix for teak 2014-06-16 16:11:42 -03:00
Michael Lerch
956431914f add pandoc
same as markdown
2014-05-06 08:37:15 -06:00
David Beitey
f5fba7c6c0 Add YAML and Salt state (SLS) comment mapping 2014-03-14 11:27:20 +10:00
Andrew Mass
d4858b5c5b Add support for MIPS assembly. 2014-03-12 20:45:58 -05:00
status failed
e107ccc9b3 added idris field to delimiterMap 2014-01-05 18:40:52 +00:00
Jian Lan
785386db76 Update NERD_commenter.txt
Add one empty line between every two items. Add a period at the end of a sentence:(regardless of whether NERDSpaceDelims is set)
2013-10-17 03:22:44 -06:00
Jian Lan
8c73eef0ea Update NERD_commenter.txt
Delete the excess the in "If the a selected line is commented then it is uncommented and vice versa. "
2013-10-17 02:52:26 -06:00
Michael Lerch
8c525a27aa Add support for stan bayesian modeling language 2013-09-28 08:38:02 -06:00
Dirk Willrodt
1f06d8a4dd remove space at end of appended comment 2013-09-20 13:44:07 +02:00
Bassem Youssef
26558db9f1 Support for Julia
http://julialang.org/
2013-09-12 15:17:23 -07:00
sailorfeng
289d2d64ec Update NERD_commenter.vim
add lpc support
2013-09-11 17:40:50 +08:00
Spike Grobstein
8fff061222 added Dockerfile comment support 2013-08-25 10:04:11 -04:00
York Wong
c73514084a change the comment style for systemtap (.stp) 2013-08-18 14:47:39 +08:00
Pascal Bugnion
4b049b83fa Added support for fortran and yaml filetypes. 2013-07-14 18:39:11 +01:00
svermeulen
fbe3bd3c35 Exposed function to check whether a line is commented 2013-05-25 15:31:00 -03:00
Robin Schneider
f234d01408 Support for esmtprc and upstart. 2013-05-20 13:24:47 +02:00
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
Alan Franzoni
5724385b2f Fix: missing escaping of < and > .
Missing escape of < and > resulted in missing <space> rendering for NERDToggleComment.
2013-01-27 21:49:37 +01:00
Martin Grenfell
0b3d928dce Merge pull request #101 from aemonge/patch-1
Corrected the SQL comment keys
2013-01-10 01:27:12 -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
Martin Grenfell
6983efa244 Merge pull request #97 from johntyree/patch-1
Update plugin/NERD_commenter.vim
2013-01-03 03:11:10 -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
Martin Grenfell
f6137c7fc8 Merge pull request #90 from 6ahodir/master
vala support
2012-11-01 03:14:23 -07: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
Martin Grenfell
8f6abbe22a Merge pull request #87 from inkarkat/improve-insert-mode-mapping
Avoid beep and additional space on insert-mode commenting at EOL.
2012-10-23 15:09:27 -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
Martin Grenfell
17168b0d61 Merge pull request #83 from NSError/scons
Added SCons (Python DSL)
2012-10-03 13:56:20 -07:00
Chris Miller
4c03b5ac3f Added SCons (Python DSL). 2012-10-03 14:39:32 -06:00