Commit Graph

147 Commits

Author SHA1 Message Date
Nagidal
a05185584d Added help section about the Leader key (#385) 2019-08-07 17:27:35 +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
fcying
9a32fd2534 Add NERDToggleCheckAllLines option to NERDCommenterToggle (#334) 2018-06-21 11:06:22 +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
Alexandre Constantino
e2d47bec26 Add option to allow deleting trailing whitespace (#251)
Add option g:NERDTrimTrailingWhitespace to allow deleting trailing
whitespace when uncommenting a line.
2016-06-10 17:49:17 +03:00
Alexandre Constantino
e1aeec12be Allow commenting empty lines given configuration (#250)
* Allow commenting empty lines given configuration

    If g:NERDCommentEmptyLines=1 then it will comment empty line, which is
    useful when commenting blocks.

    When uncommenting it will delete any trailing whitespace.

* Add documentation for NERDCommentEmptyLines
2016-06-08 17:00:05 +03:00
Hsiaoyi Hsu
dde288a9cc Add doc for NERDComHooks and fix doc of NERDComSexyComments and NERDComNERDComment 2016-05-31 22:27:10 +08:00
Caleb Maclennan
e91be123f0
Simplify and document the config key for toggling language defaults
Closes #33
2016-05-24 20:55:37 +03:00
Caleb Maclennan
8291af4c7c
Merge pull request #155 from saep/master
Implement functionality to chose the alternative comment style
2016-05-24 20:50:59 +03:00
Caleb Maclennan
821fa9ad9e
Merge pull request #242 from lanjiann/master
Pull in documentation updates from old fork (found in network graph)
2016-05-24 16:56:03 +03:00
Ben Boeckel
180d46c300 spelling: fix spelling issues 2016-05-23 16:53:22 -04: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
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
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
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
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
Martin Grenfell
8f2af9a6d7 update the NERDComment() doc 2012-01-02 21:08:24 +00:00
Benji Fisher
785ad99c0b Various fixes, simplifications, improvements to s:NERDComment() and s:CreateMaps(). Updated docs. 2011-12-14 10:39:27 -05:00
Steven G. Harms
b4d04f36c5 Adds vimdoc linking for '<leader>' as '<Leader>'
* '<leader>' is not recognized by vimdoc
* '<Leader>' is!
* Binding this  in '|' keeps proper anchoring of the term to
  '<Leader>' or 'mapleader'
* Prevents questions like:
  https://github.com/scrooloose/nerdcommenter/issues/29
2011-03-04 02:51:17 -08:00
Martin Grenfell
94cce2cc54 make NERDRemoveExtraSpaces default to 0
this was causing problems with people who were using left aligned
comments without NERDSpaceDelims set as it was incorrectly stripping out
extra spaces
2011-02-22 11:28:35 +13:00
Martin Grenfell
5dcab6ec82 fix a type in the doc 2011-02-08 17:03:11 +13:00
ervandew
69a575e70a merge in upstream master 2011-02-05 14:24:10 -08:00
Martin Grenfell
f8be02f10a doc the new NERDCustomDelimiters option 2011-02-06 09:23:26 +13:00
marty
591dd3e1fd update version to 2.3.0 2010-12-08 09:39:07 +13:00
marty
4447e9e6e8 update the change log 2010-12-08 09:34:13 +13:00
ervandew
8ef3473c2e fix a couple typos 2010-11-06 17:52:50 -07:00
ervandew
8ed440ea20 add var for default align + add support for aligning at index 0 2010-11-06 17:42:06 -07:00
marty
5c9359d3cf update the doc
Add a note about installation. Remove the 'supported filetypes' section.
2010-08-02 22:45:02 +12:00
marty
02c726c6d1 make the mappings to being with <leader> 2010-08-02 22:45:02 +12:00
Martin Grenfell
e32c0b9675 switch to version 2.2.2 2009-03-30 18:47:25 +13:00
Martin Grenfell
58480d3d64 update changelog 2009-03-30 18:45:35 +13:00
Martin Grenfell
7239f85de1 add a note about the location of the plugin on github/vim.org 2009-03-30 18:44:06 +13:00
Martin Grenfell
8b712bee60 simplify the credits 2009-03-30 18:42:35 +13:00
Martin Grenfell
eeb369e6be remove NERDShutup and the associated message 2009-03-11 14:51:29 +13:00
Martin Grenfell
b3d4476096 fix railslog filetype 2009-03-06 16:24:49 +13:00
Martin Grenfell
23aa888990 add support for pdf 2009-03-06 16:14:13 +13:00
Martin Grenfell
0bd4d5bbca fix sass delims 2009-03-06 16:12:29 +13:00
Martin Grenfell
11114745bd add support for cucumber 2009-03-06 15:01:02 +13:00
Martin Grenfell
4b680f34e9 add support for javascript.jquery 2009-01-15 13:05:49 +13:00
Martin Grenfell
19147a70cc make <%# %> the default for eruby 2009-01-15 12:07:33 +13:00
Martin Grenfell
caefbe56fd add support for javacc 2008-12-14 18:39:55 +13:00
Martin Grenfell
a287b40a67 add support for htmlcheetah 2008-12-07 13:02:58 +13:00
Martin Grenfell
95c368779b add support for mp (metapost) filetype 2008-12-07 12:36:59 +13:00
Martin Grenfell
df299e7e22 match filetypes case insensitively 2008-11-17 22:07:41 +13:00
Martin Grenfell
40632f247f add support for dhcpd, limits, ntp, resolv, rgb, sysctl, udevconf, udevrules 2008-11-17 22:03:00 +13:00
Martin Grenfell
ee14557c87 switch to 2.2.1 2008-11-13 23:25:03 +13:00
Martin Grenfell
8098fea8d9 add support for objj 2008-11-13 23:23:48 +13:00
Martin Grenfell
7e3f47ed8d add support for sieve 2008-11-13 23:16:21 +13:00