summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbm950 <jmilam343@gmail.com>2024-05-16 13:53:39 -0400
committerGitHub <noreply@github.com>2024-05-16 19:53:39 +0200
commitf5c8f520baed35584a456f25b038d59f41d420b6 (patch)
treea218fdc3ce02a36d5294226a5efe45ff5c717983
parentc0e038b59f8445e46043b6c19a70395562b068aa (diff)
runtime(doc): fix typo in vim9script help file (#14782)
This commit fixes a typo in the first example of the vim9script help file. Trying to execute the given example before resulted in a "trailing characters" error. Signed-off-by: jbm950 <jmilam343@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/doc/usr_52.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/usr_52.txt b/runtime/doc/usr_52.txt
index 4aae5fe02d..8607cf9daa 100644
--- a/runtime/doc/usr_52.txt
+++ b/runtime/doc/usr_52.txt
@@ -1,4 +1,4 @@
-*usr_52.txt* For Vim version 9.1. Last change: 2024 May 05
+*usr_52.txt* For Vim version 9.1. Last change: 2024 May 16
VIM USER MANUAL - by Bram Moolenaar
@@ -45,7 +45,7 @@ private function: >
def GetReply(nr: number): string
if nr == 42
return 'yes'
- elseif nr = 22
+ elseif nr == 22
return 'maybe'
else
return 'no'