Mercurial > vim
diff runtime/doc/vim9class.txt @ 33945:27746ed6cb05
runtime(doc): grammar & typo fixes
Commit: https://github.com/vim/vim/commit/17dca3cb97cdd7835e334b990565c8c0b93b1284
Author: Dominique Pell? <dominique.pelle@tomtom.com>
Date: Thu Dec 14 20:36:32 2023 +0100
runtime(doc): grammar & typo fixes
closes: https://github.com/vim/vim/issues/13654
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 14 Dec 2023 20:45:04 +0100 |
parents | 3bba09502b8d |
children | 45a50fd59a73 |
line wrap: on
line diff
--- a/runtime/doc/vim9class.txt +++ b/runtime/doc/vim9class.txt @@ -1,4 +1,4 @@ -*vim9class.txt* For Vim version 9.0. Last change: 2023 Nov 20 +*vim9class.txt* For Vim version 9.0. Last change: 2023 Dec 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -220,7 +220,7 @@ see this pattern: > < *E1390* Not only is this text you need to write, it also has the type of each -variables twice. Since this is so common a shorter way to write new() is +variable twice. Since this is so common a shorter way to write new() is provided: > def new(this.lnum, this.col) @@ -265,7 +265,7 @@ always returns an object of the class. *E1386* When invoking an object method, the method name should be preceded by the -object variable name. A object method cannot be invoked using the class +object variable name. An object method cannot be invoked using the class name. ==============================================================================