qizidog
ab2ae4d502
docs: Fix title numbering error in chapter-4 ( #524 )
2023-06-26 11:21:32 +03:00
Rich Churcher
844b211a4c
Add Dart to supported languages ( #523 )
2023-06-26 11:19:48 +03:00
Krzysztof Leśniak
b0b09ea46c
Fix use on VIM 8 with proper arguments to bufnr() ( #521 )
2023-06-05 11:34:33 +03:00
Christian Segundo
2045211689
Add support for jq filter files ( #520 )
2023-05-17 20:39:52 +03:00
Yuxin Wu
277bdfc679
fix: Reference current buffer not '1' re b:NERDCommenterFirstInit ( #519 )
2023-05-08 14:58:24 +03:00
YuyaKoda
1fe9e1cfea
style: Remove stray whitespaces & normalize format ( #517 )
2023-04-26 18:20:01 +03:00
YuyaKoda
e23f55e735
feat: Add vcl (Varnish Configuration Language) ( #516 )
2023-04-26 16:46:33 +03:00
Yuxin Wu
91499c76a7
Prevent caching of buffer commentstring ( #515 )
...
Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com >
2023-04-21 09:44:44 +03:00
Caleb Maclennan
bd1a29536d
Revert "Prevent caching of buffer commentstring ( #514 )"
...
This reverts commit 457b383767 .
2023-04-20 19:50:28 +03:00
林千里
c6766698d8
Recompute indxLeft after line has changed ( #507 )
2023-04-20 19:44:06 +03:00
Hazael Sanchez
c5b0f78820
Add support for CEL ( #512 )
2023-04-20 19:42:45 +03:00
Yuxin Wu
78029a0e90
Fix support for embedded lua in vimscript ( #513 )
...
Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com >
2023-04-20 19:42:14 +03:00
Yuxin Wu
457b383767
Prevent caching of buffer commentstring ( #514 )
2023-04-20 19:38:56 +03:00
Chris
d069f7fb56
Update starkware cairo comments to latest syntax ( #511 )
2023-02-05 23:14:12 +03:00
Dmitrii Mishutin
06f6166e5d
feat(dosbatch): change delimiters ( #508 )
2023-01-27 21:30:52 +03:00
Caleb Maclennan
c406bba57d
Fix comment syntax blooper from #510
2023-01-27 17:00:07 +03:00
Konstantin-Glukhov
ea6a4f76fa
Fix bug for unable to uncomment indented comments in vim files ( #510 )
...
Closes https://github.com/preservim/nerdcommenter/issues/491
2023-01-27 13:01:58 +03:00
Sankhesh Jhaveri
1caf560df1
Allow hooks to change filetype and comment deilmiters ( #509 )
...
Fixes https://github.com/preservim/nerdcommenter/pull/479
2023-01-26 20:57:08 +03:00
Caleb Maclennan
98cc4a2d64
Fixup manual install instructions to be complete
...
Closes #506
Co-authored-by: Yuri Schaeffer <yuri@schaeffer.tk >
2022-11-09 12:45:12 +03:00
Caleb Maclennan
f575c18d05
Release 2.7.0 (for those using releases, tracking upstream master is recommended)
2.7.0
2022-11-05 12:34:59 +03:00
Allen Guan
fd2114b46d
Update outdated example code in readme ( #504 )
2022-10-29 12:40:51 +03:00
Brian Wo
fe74a1b890
Add support for Justfile ( #503 )
2022-10-11 10:03:52 +03:00
Brian Wo
60f3a2bc2b
Add support for Svelte ( #502 )
2022-10-07 10:43:59 +03:00
Giuliano
2a0a05ff98
Add support for TLA+ modeling and specification language ( #497 )
2022-09-12 09:15:28 +03:00
Christian Segundo
6d30ebcd42
Add support for Zig ( #492 )
2022-05-20 23:15:25 +03:00
Caleb Maclennan
f8671f783b
Add alternate delimiter to SILE format to ease switching to Lua
2022-02-24 23:22:41 +03:00
Chris
ec002e8f5d
Add support for Starkware cairo ( #487 )
2022-02-12 17:08:52 +03:00
Caleb Maclennan
f9c5f0fbda
Merge pull request #482 from tomtomjhj/insert
2022-01-15 21:13:53 +03:00
Jaehwang Jerry Jung
ac512fe158
Do not break undo sequence when moving cursor
2022-01-16 00:10:51 +09:00
Jaehwang Jerry Jung
867618364f
Simplify and fix NERDCommenterInsert
...
* Simplify comment delimiter insertion.
* Remove the code that unnecessarily touches the leading spaces/tabs.
* Fix a bug in which `<Plug>NERDCommenterInsert` inserts the comment
delimiters in a wrong position when `col('.')==1`.
Example: `1|234` (cursor at `|`) → `/* */1234`.
* NOTE: Should avoid `feedkey(.., 'ni')` for inserting comment
delimiters to ensure that `NERDCommenter_after` is called after
inserting the delimiters. `feedkey` only adds the input to the queue,
which will be processed after exiting the script context. On the other
hand, `:normal` and `feedkey(.., 'x')` are eagerly processed.
2022-01-16 00:10:51 +09:00
Caleb Maclennan
97317fc319
Merge pull request #486 from phlip9/master
2022-01-15 15:51:20 +03:00
Philip Hayes
37298c471e
Add support for ATS and Lean
2022-01-14 16:38:49 -08:00
Caleb Maclennan
9fffd4c022
Merge pull request #485 from ftfunjth/master
2021-12-28 13:31:54 +03:00
ftfunjth
2e7a775dd2
Add SetUp call in IsLineCommented function definition
2021-12-28 18:13:13 +08:00
Caleb Maclennan
eddd535bdf
Release 2.6.0 (for those using releases, tracking upstream master is recommended)
2.6.0
2021-11-27 07:22:42 +03:00
Caleb Maclennan
13d00954a6
Merge pull request #481 from dsirov/fasm+json5-syntax
2021-11-24 20:38:07 +03:00
David Sirovsky
ab67976bea
autoload/nerdcommenter.vim: json5 support
2021-11-24 12:20:12 +02:00
David Sirovsky
fa9b74ff69
autoload/nerdcommenter.vim: fasm support
2021-11-24 12:19:56 +02:00
Caleb Maclennan
a65465d321
Merge pull request #479 from jiaobuzuji/master
2021-09-02 22:33:20 +03:00
Jiaobuzuji
9d5c12e126
fix 'g:NERDAllowAnyVisualDelims' action
...
fix 'g:NERDAllowAnyVisualDelims' action.
*'NERDAllowAnyVisualDelims'*
Values: 0 or 1.
Default: 1.
If set to 1 then, when doing a visual or visual-block comment (but not a
visual-line comment), the script will choose the right delimiters to use for
the comment. This means either using the current delimiters if they are
multipart or using the alternative delimiters if THEY are multipart. For
example if we are editing the following java code: >
float foo = 1221;
float bar = 324;
System.out.println(foo * bar);
<
If we are using // comments and select the "foo" and "bar" in visual-block
mode, as shown left below (where '|'s are used to represent the visual-block
boundary), and comment it then the script will use the alternative delimiters
as shown on the right: >
float |foo| = 1221; float /*foo*/ = 1221;
float |bar| = 324; float /*bar*/ = 324;
System.out.println(foo * bar); System.out.println(foo * bar);
<
2021-09-02 22:27:38 +08:00
Caleb Maclennan
2c87cae76e
Merge pull request #475 from tomtomjhj/refactor
2021-07-31 20:24:00 +03:00
Jaehwang Jerry Jung
f7333809b6
Prefer single quoted strings
2021-08-01 00:57:34 +09:00
Jaehwang Jerry Jung
576bd64482
{Save,Restore}ScreenState → win{save,rest}view
2021-08-01 00:45:16 +09:00
Jaehwang Jerry Jung
ed591cb2a2
substitute(.., '..\(pat\)..', '\1') → matchstr()
2021-08-01 00:33:13 +09:00
Jaehwang Jerry Jung
d398a0278c
[ \t] → \s, [^ \t] → \S
2021-08-01 00:33:13 +09:00
Caleb Maclennan
85364c56c4
Merge pull request #473 from preservim/shim-functions
2021-07-29 17:41:36 +03:00
Caleb Maclennan
b1bb758f14
Fix vimscript lint warnings
2021-07-29 17:26:06 +03:00
Caleb Maclennan
eeabded555
Pass range data through, error on case we can't shim
2021-07-29 17:20:35 +03:00
Caleb Maclennan
918592cdc6
Add warning messages to deprecated function calls
2021-07-29 16:49:12 +03:00
Caleb Maclennan
8e935a6367
Restore use to IsCharCommented function after autoload refactor goof
2021-07-29 16:48:31 +03:00