runtime(doc): Fix enum example syntax
Commit:
https://github.com/vim/vim/commit/49a35f67ebf3042b18fa4325b5c27ae25533afe5
Author: Doug Kearns <[email protected]>
Date: Sun Dec 29 15:33:12 2024 +0100
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/vim9class.txt b/runtime/doc/vim9class.txt
index a06c2c6e0..9aab6c74a 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tRuXQ-00BjJH-6f%40256bit.org.