runtime(doc): fix a few style issues
closes: #15478
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index f6d32db..9c4e870 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 9.1. Last change: 2024 Aug 10
+*autocmd.txt* For Vim version 9.1. Last change: 2024 Aug 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1428,8 +1428,8 @@
WinNewPre Before creating a new window. Triggered
before commands that modify window layout by
creating a split.
- Not done for creating tabs or for the first
- window, as the window structure is not
+ Not done when creating tab pages and for the
+ first window, as the window structure is not
initialized yet and so is generally not safe.
It is not allowed to modify window layout
while executing commands for the WinNewPre
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 8f8f70a..3ec8a3a 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2024 Jul 28
+*options.txt* For Vim version 9.1. Last change: 2024 Aug 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2260,7 +2260,7 @@
*'cpoptions'* *'cpo'* *cpo*
'cpoptions' 'cpo' string (Vim default: "aABceFsz",
Vi default: all flags, except "#{|&/\."
- |$VIM_POSIX|: all flags)
+ |$VIM_POSIX|: all flags)
global
A sequence of single character flags. When a character is present
this indicates Vi-compatible behavior. This is used for things where
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt
index f2ba03f..726aec3 100644
--- a/runtime/doc/repeat.txt
+++ b/runtime/doc/repeat.txt
@@ -1,4 +1,4 @@
-*repeat.txt* For Vim version 9.1. Last change: 2024 Jul 11
+*repeat.txt* For Vim version 9.1. Last change: 2024 Aug 12
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -793,7 +793,8 @@
:echo gettext("Hello", "foobar")
<
Where:
- "Hello" the message "Hello" to be translated into the user's language |:lang|
+ "Hello" the message "Hello" to be translated into the user's language
+ |:lang|
"foobar" the package identifier, which was previously defined using the
|bindtextdomain()| function.