]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix typo in vim9script help file (#14782)
authorjbm950 <jmilam343@gmail.com>
Thu, 16 May 2024 17:53:39 +0000 (13:53 -0400)
committerGitHub <noreply@github.com>
Thu, 16 May 2024 17:53:39 +0000 (19:53 +0200)
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>
runtime/doc/usr_52.txt

index 4aae5fe02d0766e5bd5a60b1228dd16819db484b..8607cf9daa747b4585e8090ae6a29adc496c1563 100644 (file)
@@ -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'