622 Commits

Author SHA1 Message Date
Caleb Maclennan
bedc6dc384 Add vint configuratio to enforce more sensitive rules 2020-06-08 15:23:56 +03:00
Caleb Maclennan
6b49172f9b Remove obsolete (unmaintained) fold markers
The fold markers were unmaintained anyway and hence not working. No
folding is better than broken folding, and setting nothing allows user
configs such as language syntax based folding to work properly.
2020-06-08 15:21:00 +03:00
Caleb Maclennan
c3e308c2ca Drop rakefile historically used to cut releases
We no longer release this way at all, nor is this the way to install it
locally.
2020-06-08 15:17:05 +03:00
Caleb Maclennan
95af34d581 Merge pull request #412 from preservim/credits 2020-06-08 14:58:20 +03:00
Caleb Maclennan
be1a24d6d8 Backfill some Changelog data from Github releases 2020-06-08 14:57:15 +03:00
Caleb Maclennan
5e2aeffb03 Move change log to separate file for easier maintenance 2020-06-08 14:57:15 +03:00
Caleb Maclennan
700b7d2916 Update About section with current relevant links 2020-06-08 14:42:05 +03:00
Caleb Maclennan
90f7606234 Remove contributor list from help docs, link to Contributors
Not only is the list hopelessly out of date, it's almost impossible to
keep it up to date in any balance way. The only reasonably thing I could
think to put here would be a normalized list of authors scrapped from
git commit history, but Github's view of that is nicer anyway.
2020-06-08 14:35:34 +03:00
Caleb Maclennan
480799db6d Merge pull request #411 from preservim/license-cc0 2020-06-08 14:25:18 +03:00
Caleb Maclennan
8f375b0bbb Update help documentation with relicense to CC0 2020-06-08 14:23:07 +03:00
Caleb Maclennan
f72adff404 Remove obsolete file comments header
The days when vim plugins were distributed as individual files are long
gone, these days they are almost always git repositories or tarballs. As
such the relevant meta data is included, just not in this way. Not only
does this information have a habit of being absurdly out of date, it's
not really useful any more to try to update it.
2020-06-08 14:17:44 +03:00
Caleb Maclennan
97c79a541f Split push vs. pull_request lint tooling (#426) 2020-06-08 14:01:59 +03:00
Jaehwang Jerry Jung
c62e618a1a Make insert independent of whichwrap setting (#419)
If `set whichwrap+=l`, `normal! l` may move the cursor to the next line.
Use `feedkeys('a', 'ni')` instead.
2020-02-19 07:52:10 +03:00
Caleb Maclennan
cbadb3d93e Fix minor syntax error in help file, see #416 2020-01-25 13:33:48 +03:00
Caleb Maclennan
fa00e9820c Use Jinja comment style first, HTML as alternate (closes #414) 2020-01-23 23:36:27 +03:00
Caleb Maclennan
6f1f2894cb Use HTML comment syntax for Rmarkdown
Closes #415

While Markdown doesn't officially have a comment syntax, HTML comments
are widely parsed as such. This is what most Markdown treat as Markdown
comments. As a Markdown derivative it seams logical to do the same thing
in Rmarkdown.

The previously added '#' syntax seems to be for inside code blocks, and
that would be language dependent anyway. I've left the hash option as
the alternate.
2020-01-23 22:18:50 +03:00
Caleb Maclennan
96a6c3e452 Merge pull request #416 from li-zyang/feat_api_NERDCommentIsCharCommented
Feature: API 'NERDCommentIsCharCommented(line, col)'
2020-01-23 18:42:47 +02:00
li-zhaoyang
53f5710627 Added 'Interface' section to the documention 2020-01-21 14:42:18 +08:00
li-zhaoyang
eb6243c0c8 Finished and tested NERDCommentIsCharCommented() 2020-01-21 04:16:18 +08:00
li-zhaoyang
70b5b933cd First version of 'NERDCommentIsCharCommented' API (Untested) 2020-01-20 19:49:52 +08:00
Caleb Maclennan
ec16c09a0b Add blurb to readme about original author and current contribution status 2019-12-30 12:33:26 +03:00
Caleb Maclennan
e6510c1a71 Create LICENSE file for CC0 2019-12-30 12:21:34 +03:00
Caleb Maclennan
24df32304e Add automated PR review comments based on Vint linter (#410) 2019-12-30 11:25:16 +03:00
Caleb Maclennan
0384b5bf34 Merge pull request #409 from preservim/lint
Fix vimscript lint issues
2019-12-30 11:13:51 +03:00
Caleb Maclennan
6295aeba66 Fix lint warning: use the full option names 2019-12-30 11:12:01 +03:00
Caleb Maclennan
277986725d Fix lint warning: use robust operators 2019-12-30 11:10:13 +03:00
Caleb Maclennan
ac3db1e70a Fix lint warning: prefer single quoted strings 2019-12-30 10:59:03 +03:00
Caleb Maclennan
6d51d1b334 Fix VimL syntax error 2019-12-30 10:51:34 +03:00
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