From 97c37446e6e9383b718a72a7cc94b3fe25fd6b94 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 11 Nov 2025 16:47:24 +0000 Subject: [PATCH] runtime(doc): Wrap some overlength lines in vim9{,class}.txt. closes: #18724 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- runtime/doc/vim9.txt | 5 +++-- runtime/doc/vim9class.txt | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index 6e65ca064c..c84c89ac6f 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -1,4 +1,4 @@ -*vim9.txt* For Vim version 9.1. Last change: 2025 Nov 10 +*vim9.txt* For Vim version 9.1. Last change: 2025 Nov 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -3062,7 +3062,8 @@ much overhead that cannot be avoided. Therefore the `:def` method to define a new-style function had to be added, which allows for a function with different semantics. Most things still work as before, but some parts do not. A new way to define a function was -considered the best way to separate the legacy style code from Vim9 style code. +considered the best way to separate the legacy style code from Vim9 style +code. Using "def" to define a function comes from Python. Other languages use "function" which clashes with legacy Vim script. diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt index 3d58184224..98c04d3020 100644 --- a/runtime/doc/vim9class.txt +++ b/runtime/doc/vim9class.txt @@ -1,4 +1,4 @@ -*vim9class.txt* For Vim version 9.1. Last change: 2025 Nov 10 +*vim9class.txt* For Vim version 9.1. Last change: 2025 Nov 11 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. The extended class is called the "base class" or "super class". The new class is called the "child class". -Object variables from the base class are all taken over by the child class. It -is not possible to override them (unlike some other languages). +Object variables from the base class are all taken over by the child class. +It is not possible to override them (unlike some other languages). *E1356* *E1357* *E1358* Object methods of the base class can be overruled. The signature (arguments,