Skip to content

Commit 97c3744

Browse files
dkearnschrisbra
authored andcommitted
runtime(doc): Wrap some overlength lines in vim9{,class}.txt.
closes: #18724 Signed-off-by: Doug Kearns <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent fe24972 commit 97c3744

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

runtime/doc/vim9.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9.txt* For Vim version 9.1. Last change: 2025 Nov 10
1+
*vim9.txt* For Vim version 9.1. Last change: 2025 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3062,7 +3062,8 @@ much overhead that cannot be avoided.
30623062
Therefore the `:def` method to define a new-style function had to be added,
30633063
which allows for a function with different semantics. Most things still work
30643064
as before, but some parts do not. A new way to define a function was
3065-
considered the best way to separate the legacy style code from Vim9 style code.
3065+
considered the best way to separate the legacy style code from Vim9 style
3066+
code.
30663067

30673068
Using "def" to define a function comes from Python. Other languages use
30683069
"function" which clashes with legacy Vim script.

runtime/doc/vim9class.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim9class.txt* For Vim version 9.1. Last change: 2025 Nov 10
1+
*vim9class.txt* For Vim version 9.1. Last change: 2025 Nov 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -661,8 +661,8 @@ The basic idea is to build on top of an existing class, add properties to it.
661661
The extended class is called the "base class" or "super class". The new class
662662
is called the "child class".
663663

664-
Object variables from the base class are all taken over by the child class. It
665-
is not possible to override them (unlike some other languages).
664+
Object variables from the base class are all taken over by the child class.
665+
It is not possible to override them (unlike some other languages).
666666

667667
*E1356* *E1357* *E1358*
668668
Object methods of the base class can be overruled. The signature (arguments,

0 commit comments

Comments
 (0)