aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-06 18:40:38 +0800
committerGitHub <noreply@github.com>2024-04-06 18:40:38 +0800
commit703f97568d5c5093e309c35e3fa9efc1f0d2f41d (patch)
tree422729ba63a1e00f789dccf9b40c2c290cd8498a
parent406ff528245145b386d1cbe08d59243a94d120de (diff)
downloadrneovim-703f97568d5c5093e309c35e3fa9efc1f0d2f41d.tar.gz
rneovim-703f97568d5c5093e309c35e3fa9efc1f0d2f41d.tar.bz2
rneovim-703f97568d5c5093e309c35e3fa9efc1f0d2f41d.zip
docs: tags for commenting mappings without "-default" suffix (#28205)
This actually won't cause "duplicate tag" errors if plugins have tags of the same name, because E154 is only given for duplicate tags in the same directory. Without those tags, trying to use :h for these mappings jumps to other places, because there are matches with higher score.
-rw-r--r--runtime/doc/various.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 803ca95cdf..aa05d2bbb2 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -581,16 +581,16 @@ to look up the value of 'commentstring' corresponding to the cursor position.
(This can be different from the buffer's 'commentstring' in case of
|treesitter-language-injections|.)
- *gc-default*
+ *gc* *gc-default*
gc{motion} Comment or uncomment lines covered by {motion}.
- *gcc-default*
+ *gcc* *gcc-default*
gcc Comment or uncomment [count] lines starting at cursor.
- *v_gc-default*
+ *v_gc* *v_gc-default*
{Visual}gc Comment or uncomment the selected line(s).
- *o_gc-default*
+ *o_gc* *o_gc-default*
gc Text object for the largest contiguous block of
non-blank commented lines around the cursor (e.g.
`gcgc` uncomments a comment block; `dgc` deletes it).