aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/insert.txt2
-rw-r--r--runtime/doc/options.txt6
-rw-r--r--runtime/doc/usr_05.txt3
-rw-r--r--runtime/lua/vim/_meta/options.lua6
-rw-r--r--src/nvim/options.lua6
6 files changed, 13 insertions, 12 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 8e52b55bc7..b6d16795d2 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2167,7 +2167,7 @@ text...
let lconst[1][0] = 'b' " OK
< *E995*
It is an error to specify an existing variable with
- :const. >
+ |:const|. >
:let x = 1
:const x = 1 " Error!
< *E996*
diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt
index ee83de9c71..5ac87de0a4 100644
--- a/runtime/doc/insert.txt
+++ b/runtime/doc/insert.txt
@@ -1939,7 +1939,7 @@ command in ex mode: >
two
.
:visual
-<appends the following text, after the cursor line: >
+appends the following text, after the cursor line: >
one
two
<
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index adc6dfc890..18ca8ea948 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4432,17 +4432,17 @@ A jump table for the options with a short description can be found at |Q_op|.
Using CTRL-X on "0" or CTRL-A on "18446744073709551615"
(2^64 - 1) has no effect, overflow is prevented.
blank If included, treat numbers as signed or unsigned based on
- preceding whitespace. If a number with a leading dash has its
+ preceding whitespace. If a number with a leading dash has its
dash immediately preceded by a non-whitespace character (i.e.,
not a tab or a " "), the negative sign won't be considered as
part of the number. For example:
Using CTRL-A on "14" in "Carbon-14" results in "Carbon-15"
(without "blank" it would become "Carbon-13").
Using CTRL-X on "8" in "Carbon -8" results in "Carbon -9"
- (because -8 is preceded by whitespace. If "unsigned" was
+ (because -8 is preceded by whitespace. If "unsigned" was
set, it would result in "Carbon -7").
If this format is included, overflow is prevented as if
- "unsigned" were set. If both this format and "unsigned" are
+ "unsigned" were set. If both this format and "unsigned" are
included, "unsigned" will take precedence.
Numbers which simply begin with a digit in the range 1-9 are always
diff --git a/runtime/doc/usr_05.txt b/runtime/doc/usr_05.txt
index 1c936d5f9d..698d1207d3 100644
--- a/runtime/doc/usr_05.txt
+++ b/runtime/doc/usr_05.txt
@@ -240,7 +240,8 @@ Adding nohlsearch package *nohlsearch-install*
Load the plugin with this command: >
packadd nohlsearch
<
-Automatically execute |:nohlsearch| after 'updatetime' or getting into |Insert| mode.
+Automatically execute |:nohlsearch| after 'updatetime' or getting into
+|Insert| mode.
Thus assuming default updatetime, hlsearch would be suspended/turned off after
4 seconds of idle time.
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 25654e287d..fffc561604 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -4550,17 +4550,17 @@ vim.go.mouset = vim.go.mousetime
--- Using CTRL-X on "0" or CTRL-A on "18446744073709551615"
--- (2^64 - 1) has no effect, overflow is prevented.
--- blank If included, treat numbers as signed or unsigned based on
---- preceding whitespace. If a number with a leading dash has its
+--- preceding whitespace. If a number with a leading dash has its
--- dash immediately preceded by a non-whitespace character (i.e.,
--- not a tab or a " "), the negative sign won't be considered as
--- part of the number. For example:
--- Using CTRL-A on "14" in "Carbon-14" results in "Carbon-15"
--- (without "blank" it would become "Carbon-13").
--- Using CTRL-X on "8" in "Carbon -8" results in "Carbon -9"
---- (because -8 is preceded by whitespace. If "unsigned" was
+--- (because -8 is preceded by whitespace. If "unsigned" was
--- set, it would result in "Carbon -7").
--- If this format is included, overflow is prevented as if
---- "unsigned" were set. If both this format and "unsigned" are
+--- "unsigned" were set. If both this format and "unsigned" are
--- included, "unsigned" will take precedence.
---
--- Numbers which simply begin with a digit in the range 1-9 are always
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 368cdca5e7..cf97f682f8 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -5718,17 +5718,17 @@ return {
Using CTRL-X on "0" or CTRL-A on "18446744073709551615"
(2^64 - 1) has no effect, overflow is prevented.
blank If included, treat numbers as signed or unsigned based on
- preceding whitespace. If a number with a leading dash has its
+ preceding whitespace. If a number with a leading dash has its
dash immediately preceded by a non-whitespace character (i.e.,
not a tab or a " "), the negative sign won't be considered as
part of the number. For example:
Using CTRL-A on "14" in "Carbon-14" results in "Carbon-15"
(without "blank" it would become "Carbon-13").
Using CTRL-X on "8" in "Carbon -8" results in "Carbon -9"
- (because -8 is preceded by whitespace. If "unsigned" was
+ (because -8 is preceded by whitespace. If "unsigned" was
set, it would result in "Carbon -7").
If this format is included, overflow is prevented as if
- "unsigned" were set. If both this format and "unsigned" are
+ "unsigned" were set. If both this format and "unsigned" are
included, "unsigned" will take precedence.
Numbers which simply begin with a digit in the range 1-9 are always