runtime(doc): fix typo in vim9script help file (#14782)

Commit: 
https://github.com/vim/vim/commit/f5c8f520baed35584a456f25b038d59f41d420b6
Author: jbm950 <jmilam...@gmail.com>
Date:   Thu May 16 13:53:39 2024 -0400

    runtime(doc): fix typo in vim9script help file 
(https://github.com/vim/vim/issues/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 <jmilam...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/usr_52.txt b/runtime/doc/usr_52.txt
index 4aae5fe02..8607cf9da 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'

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1s7fOm-005qvJ-JM%40256bit.org.

Reply via email to