From: jbm950 Date: Thu, 16 May 2024 17:53:39 +0000 (-0400) Subject: runtime(doc): fix typo in vim9script help file (#14782) X-Git-Tag: v9.1.0414~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5c8f520baed35584a456f25b038d59f41d420b6;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- 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'