From 49a35f67ebf3042b18fa4325b5c27ae25533afe5 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 29 Dec 2024 15:33:12 +0100 Subject: [PATCH] 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 --- runtime/doc/vim9class.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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