From: Doug Kearns Date: Sun, 29 Dec 2024 14:33:12 +0000 (+0100) Subject: runtime(doc): Fix enum example syntax X-Git-Tag: v9.1.0973~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49a35f67ebf3042b18fa4325b5c27ae25533afe5;p=thirdparty%2Fvim.git runtime(doc): Fix enum example syntax An ex-colon is not allowed before endenum. As no other examples in the file use an ex-colon remove them both. Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt index a06c2c6e08..9aab6c74a0 100644 --- a/runtime/doc/vim9class.txt +++ b/runtime/doc/vim9class.txt @@ -1,4 +1,4 @@ -*vim9class.txt* For Vim version 9.1. Last change: 2024 Nov 11 +*vim9class.txt* For Vim version 9.1. Last change: 2024 Dec 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -951,11 +951,11 @@ aliased: > *enum* *E1418* *E1419* *E1420* An enum is a type that can have one of a list of values. Example: > - :enum Color + enum Color White, Red, Green, Blue, Black - :endenum + endenum < *enumvalue* *E1422* The enum values are separated by commas. More than one enum value can be