Commit Graph

494 Commits

Author SHA1 Message Date
Caleb Maclennan
8a68872933
Add vimscript linter as CI check 2019-12-30 10:42:26 +03:00
Caleb Maclennan
8786861a3c
Update repository URLs with new org namespace
See https://github.com/preservim/nerdcommenter/issues/400

Old URLs will continue to work for the foreseeable future since Github
forwards them, but new users in particular should be encouraged to use
the new org namespace when installing the plugin.
2019-12-29 11:15:59 +03:00
Caleb Maclennan
f5525720ec
Create FUNDING.yml 2019-12-29 11:15:59 +03:00
Jaskaran Singh
ce590719f6 Add semantic patch (.cocci) to delimiterMap (#408)
Coccinelle is a tool used for transforming C source code. It
uses the Semantic Patch Language (.cocci files) for doing this.
The conventional notation for commenting in semantic patches
is "//".

Used in conjunction with this plugin:

https://github.com/ahf/cocci-syntax

The cocci filetype is set, following which NERD_commenter can
be used in .cocci files.

Signed-off-by: Jaskaran Singh <jaskaransingh7654321@gmail.com>
2019-12-21 10:59:38 +03:00
Caleb Maclennan
023f2d10d5
Add snakemake filetype support, closes #313 2019-12-20 07:39:47 +03:00
Nicholas Cronquist
023cc20324 Add new delimiter for Hashicorp 'sentinel' files (#406)
- Sentinel is a new language developed by Hashicorp
- Sentinel supports three types of comments, `#` and `//` for single
  line comments and `/* ... */` for multi-line comments as described
  in their documentation - https://docs.hashicorp.com/sentinel/language/spec/#comments
  - Since sentinel and terraform, .tf extension, are related, the `#`
    symbol was chosen to keep in line with the tf single line comment
2019-11-26 10:11:36 +03:00
Rory Bradford
9208286236 Add syntax for troff family languages (#397) 2019-10-05 17:39:51 +03:00
Caleb Maclennan
a4b7c046b3
Fix Fluent file type as set by fluent.vim 2019-09-26 14:32:49 +03:00
horst5000
50f307bbf6 Change delimiters of CUDA to match the defaults of C/C++ 2019-09-20 09:34:14 +03:00
Caleb Maclennan
8228c7b0a7
Add comment syntax for FTL (Fluent) filetype 2019-09-13 14:30:20 +03:00
impulse
2504a3d84e Add comment styles for React filetypes .jsx/.tsx (#393)
Note that to-date there has not been an official vim filetype for
React-Javascript and React-Typescript. The `javascriptreact` and
`typescriptreact` filetypes were added upstream to both Vim (8.1.1890)
and NeoVim during the course of discussion on this PR.

Some other Vim plugins are known to use filetype hacks such as
`javascript.jsx` or `typescript.jsx`. This plugin supports the now
official upstream designations. If this conflicts with your usage you
can either tweak the other plugins (and/or submit a fix to use the
official filetypes upstream) or add custom file type comment setting in
your vim rc/init file.

Co-Authored-By: Caleb Maclennan <caleb@alerque.com>
2019-08-27 13:58:11 +03:00
Nagidal
a05185584d Added help section about the Leader key (#385) 2019-08-07 17:27:35 +03:00
ufengzh
df2f6825f4 Add proto filetype to support protobuf (#390) 2019-08-06 16:08:49 +03:00
Brent McKain
7f5c217f79 Add multipart/block comments to SQL filetype
Fixes #382
2019-07-03 16:47:32 +03:00
Edison Lim
14cd7719ac feat: added scilla support (#381) 2019-06-18 09:16:06 +03:00
Caleb Maclennan
17cec9747e
Add Ledger file support 2019-06-08 14:12:40 +03:00
grenzionky
e6fd663def Add gdscript filetype (#378) 2019-06-04 16:58:21 +03:00
James P. Harvey
25c2920fe8 Update documentation for 11 year old NERDCommenter[A-Z] style (#377)
11 years ago, b54d3bb renamed NERDCom[A-Z] mappings to <plug>NERDCommenter[A-Z] mappings.  But, the docs were never updated.  When README.md was later created, it kept the old NERDCom[A-Z] names.

Split tag NERDComAlignedComment and use new form NERDCommenterAlign{Left,Both}

Update other help tags from NERDCom[A-Z] pattern to NERDCommenter[A-Z]
2019-06-02 09:32:34 +03:00
Jingchang Shi
17b68e47d7 Add an option: NERDDisableTabsInBlockComm (#374)
* Add an option: NERDDisableTabsInBlockComm. 1 disables adding tabs before the comment symbols in the block style.
* Add doc for the new option.
2019-04-17 12:11:07 +03:00
Lane
67950d4b5d Make g:NERDToggleCheckAllLines not check blank/whitespace-only lines (#355) 2019-04-17 09:49:38 +03:00
Caleb Maclennan
f46226bcd6
Remove apparently bogus filetype
I can't find any record of this being a legitimate filetype. It isn't in
vim or nvim's filetype detection system and nothing comes up in search.
If it's legit somebody can complain and we'll add it back, but it seems
likely this was left over from a fat-fingered mistake during the initial
development of the plugin.

Fixes #363
2019-03-07 12:00:42 +03:00
Caleb Maclennan
5100f47542
Add kivy file format, fixes #361 2019-02-14 09:50:24 +03:00
Caleb Maclennan
5ac43900e9
Strip trailing whitespace 2019-02-14 09:48:49 +03:00
MeNsaaH
3427b2f4ef updated Django comments (#359)
* updated Django comments
* Adding alternate comments for django
2019-02-04 12:13:20 +03:00
glegodais
371e4d0e09 Add support for Faust (#354) 2018-12-26 14:11:50 +03:00
Maarten van der Hoef
d24868bc85 Terraform replacing Transcript File (#350) 2018-12-03 16:22:57 +03:00
keysen
fdf950f20b Fix ruby comments, totally broken with =begin and =end (#340) 2018-07-31 20:29:13 +03:00
Zachary Churchill
f9dd87271a Swap default comment style to be more idiomatic of haskell (#343)
See discussion at https://github.com/scrooloose/nerdcommenter/pull/343
2018-07-28 06:52:07 +03:00
fcying
9a32fd2534 Add NERDToggleCheckAllLines option to NERDCommenterToggle (#334) 2018-06-21 11:06:22 +03:00
Jiaobuzuji
e679d8a341 Add support for 'sdc' filetype (#327) 2018-03-03 15:16:47 +03:00
dandersson
670dba1bb5 Add support for Robot Framework files (#323) 2018-02-07 12:19:12 +03:00
Sean
2f973bd4fa Fix Markdown formatting 2018-02-02 12:56:54 +03:00
tlsvc
ff3d8d7d7c Add support for ANSYS Parametric Design Language (apdl) (#317) 2018-01-13 11:47:04 +03:00
Alec Shaw
af8bb4258d Add support for Praat scripting language (#316)
[Praat][1] is a program for phonetics research which has a scripting interface.

[1]: http://www.fon.hum.uva.nl/praat/
2017-12-26 11:02:19 +03:00
Caleb Maclennan
fd61bc71f6
Udate version and date strings 2017-11-07 10:46:22 +03:00
Caleb Maclennan
3e99b39f4f
Add sshconfig filetype to complement sshdconfig
Mentioned in #313
2017-11-07 10:38:04 +03:00
Caleb Maclennan
09b07d50ba
Merge branch 'pr/266'
Closes #266
2017-11-07 10:17:06 +03:00
Caleb Maclennan
013cfec44d
Merge branch 'pr/279'
Closes #279

Since original author of this PR has deleted their Github account
I squashed their two commits and added one to fix the issue with the
implementation as noted in the PR.
2017-11-07 10:12:51 +03:00
Caleb Maclennan
d4548ebb0c
Fix implementation of renpy to not include python hack 2017-11-07 10:12:00 +03:00
Komeji Koishi
c321b3460b
Added filetype 'renpy' support.
Renpy is an extension of python syntax and it uses '#' comments.
2017-11-07 10:11:59 +03:00
Carlos Eduardo de Andrade
63ba1a1123 Adding support to MiniZinc constraint modeling language. (#311) 2017-10-31 18:53:26 +02:00
Ratan
376838672d Add julia multiline comment chars (#312) 2017-10-31 18:52:28 +02:00
Caleb Maclennan
285902752f
Cleanup code formatting in file support matrix 2017-04-07 11:53:35 +03:00
m-pilia
d1ac2382b2 add gl shaders language (#293) 2017-04-06 13:59:25 +03:00
Lyude
a6b3cc6842 Add support for piglit's shader_test files (#292)
This adds support for shader_test files in piglit, the open source
test suite for OpenGL implementations such as mesa. More information on
piglit can be found at:

https://piglit.freedesktop.org/
2017-03-25 13:19:06 +02:00
Caleb Maclennan
d05cfd190b
Revert "add support for react/jsx comments (Closes #280) (#290)"
This reverts commit 0e1f6f6866.

Given the unexpected behaviour of this and disruption to people's
established work flows, I'm reverting this until a better solution can
be found that only handles the special comment format inside React code
blocks.
2017-03-15 13:18:09 +03:00
Lucas Charles
0e1f6f6866 add support for react/jsx comments (Closes #280) (#290) 2017-03-12 09:08:58 +02:00
Dylan Baker
41e686824a Add support for the meson build system. (#289) 2017-02-28 08:04:50 +02:00
Zack Youngren
59552f2e88 Add multi-line comments for Elm (#283)
Technically the minimum necessary syntax for block comments requires
only a single hyphen (`-}`, `{-`), but I have found that using a double
hyphen plays a bit more nicely with the elmcast/elm-vim auto-formatting.
Further, uncommenting when using the single dashes leaves an extra level
of indentation (again, when using elmcast/elm-vim).
2017-02-20 09:08:14 +02:00
Alexandr
c5f8cbf70d Fix removing space when uncommenting spaced AltDelims multipart comment (#286) 2017-02-20 09:03:41 +02:00