diff runtime/doc/vim9class.txt @ 34025:385c61388fc3

runtime(doc): add help tag multiple-constructors. (#13772) Commit: https://github.com/vim/vim/commit/92feeaffc291d3247fd7c591c5ee4ec1b6c957ec Author: errael <errael@raelity.com> Date: Wed Dec 27 10:07:09 2023 -0800 runtime(doc): add help tag multiple-constructors. (https://github.com/vim/vim/issues/13772) Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 27 Dec 2023 19:15:06 +0100
parents 291b4ea552eb
children cf39f47f26df
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 Dec 24
+*vim9class.txt*	For Vim version 9.0.  Last change: 2023 Dec 25
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -212,6 +212,8 @@ the above class): >
 <
 Simplifying the new() method ~
 						*new()* *constructor*
+See also |default-constructor| and |multiple-constructors|.
+
 Many constructors take values for the object variables.  Thus you very often
 see this pattern: >
 
@@ -801,7 +803,7 @@ first.
 
 
 Multiple constructors ~
-
+						*multiple-constructors*
 Normally a class has just one new() constructor.  In case you find that the
 constructor is often called with the same arguments you may want to simplify
 your code by putting those arguments into a second constructor method.  For