Commit Graph

360 Commits

Author SHA1 Message Date
Caleb Maclennan
38d77f64cf
Add plain LaTeX file type support
Closes #105
2016-05-24 09:07:12 +03:00
Caleb Maclennan
4ebe5a9c5c
Merge pull request #239 from davidjb/master
Reapply PR #183 for Python comments, PR #100 undid this
2016-05-24 08:57:49 +03:00
Caleb Maclennan
90315ecf20
Add ss (lisp scheme) filetype support
Closes #61
2016-05-24 08:49:48 +03:00
Caleb Maclennan
902837e2b1
Add support for snippets files
Closes #56
2016-05-24 08:46:24 +03:00
Caleb Maclennan
247421c0ba
Add alternate block-wise comment syntax
Per @gf3's comment on issue #40, this seems to be more complete support
over the bare PR I merged from #100.
2016-05-24 08:16:57 +03:00
Caleb Maclennan
81d0709db4
Merge pull request #238 from mathstuf/fix-spelling-problems
spelling: fix spelling issues
2016-05-24 07:30:08 +03:00
Caleb Maclennan
e482d8a9c4
Merge pull request #117 from ypid/master
Support for esmtprc and upstart.
2016-05-24 07:25:54 +03:00
Caleb Maclennan
a6f2bc084a
Merge pull request #164 from jonatanolofsson/master
Add support for tupfiles
2016-05-24 07:23:25 +03:00
Caleb Maclennan
6d97fbbd16
Merge pull request #158 from spk/add_privoxy_support
Added privoxy support
2016-05-24 07:22:21 +03:00
Szymon Śliwa
bfd80feb6f
added Coq support
Closes #156

[caleb@alerque.com: Drop redundant alternate comment delimiters]
Signed-off-by: Caleb Maclennan <caleb@alerque.com>
2016-05-24 07:21:46 +03:00
David Beitey
c3a82f40c2 Reapply PR #183, PR #100 undid this 2016-05-24 10:17:33 +10:00
Ben Boeckel
180d46c300 spelling: fix spelling issues 2016-05-23 16:53:22 -04:00
Caleb Maclennan
b2dca140df
Merge pull request #232 from suoto/master
Adding config state handling before/after line comments
2016-05-23 22:52:30 +03:00
Caleb Maclennan
e6e67e9470
Merge pull request #231 from sbdchd/scss
updated scss comment style to correspond to the style guide
2016-05-23 22:52:03 +03:00
Caleb Maclennan
bc40eac0c6
Merge pull request #228 from alerque/sile
Add comment syntax for SILE
2016-05-23 22:51:14 +03:00
Caleb Maclennan
34e885bb8c
Merge pull request #227 from DenisKolodin/ts-rs
Add Rust and TypeScript rules
2016-05-23 22:49:06 +03:00
Caleb Maclennan
0efb6c92bc
Merge pull request #222 from hoyon/master
Add support for rust
2016-05-23 22:47:35 +03:00
Caleb Maclennan
cdf903440d
Merge pull request #220 from clinstid/master
Add support for terraform files
2016-05-23 22:46:57 +03:00
Aditya Vaidya
f129cd81c8
Changed Markdown comment to HTML-style
Closes #218

Works at least with pandoc. The older version (the character '>') did not work in pandoc.
2016-05-23 22:45:20 +03:00
Caleb Maclennan
6e6de4e2a4
Merge pull request #213 from harlanhaskins/patch-1
Added Swift comment map
2016-05-23 22:43:12 +03:00
Caleb Maclennan
789c248ad4
Merge pull request #172 from kballard/add-toml-delimiters
Add delimiters for TOML
2016-05-23 22:41:42 +03:00
rgscherf
c7f339ee4e
add elmlang support
Closes #208
2016-05-23 22:39:32 +03:00
Caleb Maclennan
a7f679d3b8
Merge pull request #207 from neingeist/master
Add Nagios config file support
2016-05-23 22:37:23 +03:00
Caleb Maclennan
d237cd666d
Merge pull request #201 from sivakumar-kailasam/master
Adds support for handlebars file formats
2016-05-23 22:36:50 +03:00
Caleb Maclennan
27108c45bc
Merge pull request #193 from wcamarao/master
Add config to allow commenting empty lines (useful for Golang's godoc)
2016-05-23 22:32:14 +03:00
Caleb Maclennan
00592883c1
Merge pull request #192 from elyscape/add_sshdconfig_support
Add support for sshdconfig files
2016-05-23 22:26:04 +03:00
Caleb Maclennan
a458fcc036
Merge pull request #187 from reisgabrieljoao/master
Correct bib comment delimiter.
2016-05-23 22:13:49 +03:00
Caleb Maclennan
e5b202fd43
Merge remote-tracking branch 'upstream/pr/177'
Closes #177
2016-05-23 22:04:03 +03:00
Ashley Blackmore
88ef57e098
add commenting for jinja templates
Closes #149
2016-05-23 21:58:14 +03:00
Keith Hughitt
d9f96ceaf3
Added support for RMarkdown files
Closes #148
2016-05-23 21:55:16 +03:00
Caleb Maclennan
a35f1ebd0b
Merge pull request #146 from davidjb/patch-2
Add YAML and Salt state (SLS) comment mapping
2016-05-23 21:49:17 +03:00
Caleb Maclennan
f26ec29dd4
Merge remote-tracking branch 'upstream/pr/144'
Closes #144
2016-05-23 21:48:08 +03:00
Caleb Maclennan
969219e62b
Merge pull request #132 from mdlerch/master
Add support for stan bayesian modeling language
2016-05-23 21:36:20 +03:00
Caleb Maclennan
2d702c9619
Merge pull request #130 from Garonenur/space
remove space at end of appended comment
2016-05-23 21:32:03 +03:00
Caleb Maclennan
d672296a34
Merge pull request #129 from bass3m/master
Support for Julia
2016-05-23 21:30:12 +03:00
Caleb Maclennan
0d1fd7ff66
Merge pull request #126 from spikegrobstein/dockerfile_comments
added Dockerfile comment support
2016-05-23 21:29:03 +03:00
Caleb Maclennan
e5b0235247
Merge pull request #124 from ethinx/stp
change the comment style for systemtap (.stp)
2016-05-23 21:27:42 +03:00
Caleb Maclennan
cb98e173e7
Merge pull request #120 from pbugnion/master
Added support for fortran and yaml filetypes
2016-05-23 20:56:47 +03:00
Caleb Maclennan
5c61776994
Merge pull request #139 from statusfailed/idris-syntax-patch
Support for Idris
2016-05-23 20:53:02 +03:00
Caleb Maclennan
4fc52fd698
Merge pull request #113 from heartsentwined/emblem
add support for emblem
2016-05-23 20:23:49 +03:00
Caleb Maclennan
7e75415e4d
Merge pull request #111 from heartsentwined/ember-script
add support for ember-script
2016-05-23 20:18:28 +03:00
Caleb Maclennan
7bc40e53c0
Merge pull request #108 from jeremyjh/master
Add Elixir language support
2016-05-23 20:16:41 +03:00
Caleb Maclennan
8d3dcc26a6
Merge pull request #100 from pwightman/patch-1
Support for racket language.
2016-05-23 19:45:50 +03:00
Caleb Maclennan
34e0115ffa Merge pull request #24 from ervandew/master
Default alignment option + ability to align at index 0.
2016-05-23 19:08:24 +03:00
Steven Weaver
60bd8664ba adding hyphy filetype 2016-04-19 15:51:07 -04:00
Laurent Arnoud
ca46be883e
Added privoxy support 2016-03-05 18:42:09 +01:00
Steve Dignam
76afa5ba37 updated scss comment style to correspond to the style guide 2016-03-02 14:51:10 -05:00
Steve Dignam
d1de6136ba updated ruby comment to fit with ruby style guide 2016-03-02 01:05:28 -05:00
Andre Souto
94ecc6c282 Adding config state handling before/after line comments 2016-02-22 09:46:45 -03:00
Caleb Maclennan
668c8a7336 Add comment syntax for SILE
Sile is a typesetter somewhat similar to LaTeX that uses two different
possible input formats. Input can be XML which is already covered or
there is a TeX like input format. The normal file extension for the
latter is .sil.
2016-01-21 19:13:06 +02:00
Denis Kolodin
8fd8e9599f Add Rust and TypeScript rules 2016-01-20 15:49:27 +03:00
Hoyon Mak
40007efa1a Add support for rust 2016-01-03 19:13:34 +00:00
Chris Linstid
92de964f61 Add support for terraform files
Terraform files are used to define different resources. Single line comments use a '#' and multi-line comments use '/* ... */'. For more information, see https://terraform.io/docs/configuration/syntax.html.
2015-12-14 15:11:46 -05:00
Harlan
40c4c66f7a Added Swift comment map 2015-11-15 21:01:12 -05:00
neingeist
a3030b9625 Add Nagios config file support 2015-09-30 06:35:49 +02:00
Sivakumar Kailasam
05de4871ce Adds support for handlebars file formats 2015-08-10 08:54:14 +05:30
Wagner Camarao
cf4912d36c Add config to allow commenting empty lines 2015-05-29 15:57:02 -07:00
Eli Young
6bdeaaa3d4 Add support for sshdconfig files
The sshdconfig filetype provider does not set `commentstring`, so
support must be explicitly defined.
2015-05-22 19:08:16 -07:00
azdkj532
3a60b6b1ec add the attribute 'leftAlt' to python 2015-04-30 13:34:25 +08:00
reisgabrieljoao
6591d08b24 Correct bib comment delimiter. 2015-04-09 09:33:40 -03:00
azdkj532
776f69e684 according to pep8, we need a space after '#' 2015-03-17 13:46:04 +08: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
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
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