]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): Fix notation of "Vim script" and "Vim9 script"
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 27 Apr 2025 13:28:30 +0000 (15:28 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 27 Apr 2025 13:28:30 +0000 (15:28 +0200)
closes: #17213

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
32 files changed:
runtime/autoload/dist/vim.vim
runtime/doc/filetype.txt
runtime/doc/if_perl.txt
runtime/doc/pi_getscript.txt
runtime/doc/pi_netrw.txt
runtime/doc/tags
runtime/doc/usr_41.txt
runtime/doc/vim9.txt
runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim
runtime/pack/dist/opt/netrw/autoload/netrw.vim
runtime/pack/dist/opt/netrw/doc/netrw.txt
runtime/syntax/generator/vim.vim.base
runtime/syntax/groovy.vim
runtime/syntax/testdir/input/vim9_expr.vim
runtime/syntax/testdir/input/vim9_function_calls.vim
runtime/syntax/testdir/input/vim_ex_def.vim
runtime/syntax/testdir/input/vim_ex_function.vim
runtime/syntax/vim.vim
src/Make_cyg_ming.mak
src/Make_mvc.mak
src/Makefile
src/README.md
src/eval.c
src/gui_w32.c
src/message_test.c
src/profiler.c
src/structs.h
src/testdir/test_cmdline.vim
src/testdir/test_source.vim
src/testdir/test_vim9_cmd.vim
src/testdir/vim9.vim
src/testing.c

index bb858c5732357980c9c43e6ad30b5e9b3d6f6fa9..1632aed2b6082ab3e5acef62f866f47ca5f19769 100644 (file)
@@ -1,9 +1,9 @@
 " Vim runtime support library,
-" runs the vim9 script version or legacy script version
+" runs the Vim9 script version or legacy script version
 " on demand (mostly for Neovim compatability)
 "
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2023 Nov 04
+" Last Change: 2025 Apr 27
 
 
 " enable the zip and gzip plugin by default, if not set
index 018dbcaf1a5ffeff038402f59a339e9c8298a4c6..fa9506da2ea70c8ac4236e89b9421502ccce07b4 100644 (file)
@@ -1,4 +1,4 @@
-*filetype.txt* For Vim version 9.1.  Last change: 2025 Apr 22
+*filetype.txt* For Vim version 9.1.  Last change: 2025 Apr 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -269,7 +269,7 @@ D. If your filetype can only be detected by inspecting the contents of the
       item of the 'runtimepath' option.  Example for Unix: >
        :!mkdir ~/.vim
 <
-   2. Create a vim script file for doing this.  Example: >
+   2. Create a Vim script file for doing this.  Example: >
        if did_filetype()       " filetype already set..
          finish                " ..don't do these checks
        endif
index 86edd05a0a17ee6a692a1f4dcf6f70379a01f7bb..85e5a90e56a61961a8e0cdbe90da5986751669cd 100644 (file)
@@ -1,4 +1,4 @@
-*if_perl.txt*   For Vim version 9.1.  Last change: 2023 May 14
+*if_perl.txt*   For Vim version 9.1.  Last change: 2025 Apr 27
 
 
                  VIM REFERENCE MANUAL    by Sven Verdoolaege
@@ -74,7 +74,7 @@ The ActiveState one should work, Strawberry Perl is a good alternative.
                        |script-here|.
 
 
-Example vim script: >
+Example Vim script: >
 
        function! WhitePearl()
        perl << EOF
index 20caab1e15842464899a4205dc6508e5317634b4..e549ea64153ca80f6b2b4ed9561af7875ecc8441 100644 (file)
@@ -1,4 +1,4 @@
-*pi_getscript.txt*  For Vim version 9.1.  Last change: 2025 Mar 15
+*pi_getscript.txt*  For Vim version 9.1.  Last change: 2025 Apr 27
 >
                GETSCRIPT REFERENCE MANUAL  by Charles E. Campbell
 <
@@ -156,7 +156,7 @@ may have.  As an example, consider: >
 
        " GetLatestVimScripts: 884  1 :AutoInstall: AutoAlign.vim
 
-This comment line tells getscript.vim to check vimscript #884 and that the
+This comment line tells getscript.vim to check Vim script #884 and that the
 script is automatically installable.  Getscript will also use this line to
 help build the GetLatestVimScripts.dat file, by including a line such as: >
 
index 51688b705f84be35c3f36fba8dd9080415b1d20d..00799911ed608765df423c716753297835fe01a1 100644 (file)
@@ -460,7 +460,7 @@ file using root-relative paths, use the full path:
 ==============================================================================
 4. Network-Oriented File Transfer                      *netrw-xfer* {{{1
 
-Network-oriented file transfer under Vim is implemented by a vim script
+Network-oriented file transfer under Vim is implemented by a Vim script
 (<netrw.vim>) using plugin techniques.  It currently supports both reading and
 writing across networks using rcp, scp, ftp or ftp+<.netrc>, scp, fetch,
 dav/cadaver, rsync, or sftp.
index a094e148375391dc4f896d094cb08db65e80d0f6..2e6c8e08b9f59ac81686ae286e37d1b083e37e80 100644 (file)
@@ -11383,6 +11383,7 @@ vim-modes-intro intro.txt       /*vim-modes-intro*
 vim-raku       ft_raku.txt     /*vim-raku*
 vim-script-intro       usr_41.txt      /*vim-script-intro*
 vim-script-library     eval.txt        /*vim-script-library*
+vim-script-notation    usr_41.txt      /*vim-script-notation*
 vim-security   intro.txt       /*vim-security*
 vim-shebang    various.txt     /*vim-shebang*
 vim-tutor-create       pi_tutor.txt    /*vim-tutor-create*
index a22b6f7980f5b17526bb3d3621abc3bac49c5479..ffa6fcb7aee4b7a57fe13ecb9ad91b1d5bf86ea3 100644 (file)
@@ -1,4 +1,4 @@
-*usr_41.txt*   For Vim version 9.1.  Last change: 2025 Apr 24
+*usr_41.txt*   For Vim version 9.1.  Last change: 2025 Apr 27
 
                     VIM USER MANUAL - by Bram Moolenaar
 
@@ -35,8 +35,10 @@ like for example .vim files or configuration files like .vimrc and .gvimrc.
 These scripts may define functions, commands and settings that Vim uses to
 customize and extend its behavior.
 
-With a slight abuse of nomenclature, we will use "Vim script" to refer to the
-Vim scripting language throughout this documentation.  This shorthand helps to
+                                               *vim-script-notation*
+The correct notation is "Vim script" (or "Vim9 script" when refering to the
+new Vim9 language |Vim9-script|), so we will use "Vim script" to refer to the
+Vim scripting language throughout this documentation. This shorthand helps to
 streamline explanations and discussions about scripting with Vim.
 
 A Vim plugin is a collection of one or more Vim scripts, along with additional
index ba72358d13410fee701661e4d03608aa7d27095c..0dae57debc8c6d77d54e6f66e62f7eb7a7946c3f 100644 (file)
@@ -1,4 +1,4 @@
-*vim9.txt*     For Vim version 9.1.  Last change: 2025 Apr 18
+*vim9.txt*     For Vim version 9.1.  Last change: 2025 Apr 27
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -2043,7 +2043,7 @@ The script name after `import` can be:
 
 If the name does not end in ".vim" then the use of "as name" is required.
 
-Once a vim9 script file has been imported, the result is cached and used the
+Once a Vim9 script file has been imported, the result is cached and used the
 next time the same script is imported.  It will not be read again.
 
 It is not allowed to import the same script twice, also when using two
@@ -2056,7 +2056,7 @@ line, there can be no line break: >
        echo that
                .name  # Error!
 <                                              *import-map*
-When you've imported a function from one script into a vim9 script you can
+When you've imported a function from one script into a Vim9 script you can
 refer to the imported function in a mapping by prefixing it with |<SID>|: >
        noremap <silent> ,a :call <SID>name.Function()<CR>
 
index 6eaa053e43b35c558a379500106b7a4d5e66c71d..914e7788ff43a969c0b38621e5f722db081156ea 100644 (file)
@@ -325,7 +325,7 @@ call s:EditorConfigEnable(1)
 " UseConfigFiles function for different modes {{{1
 
 function! s:UseConfigFiles_VimCore(bufnr, target)
-" Use the vimscript EditorConfig core
+" Use the Vim script EditorConfig core
     try
         let l:config = editorconfig_core#handler#get_configurations(
             \ { 'target': a:target } )
index f2841170478eaad86f60460cc0808c84fd175dad..228f4706393741b778c6a8d9a23d9ef13052846c 100644 (file)
@@ -2540,7 +2540,7 @@ fun! netrw#NetWrite(...) range
 endfun
 
 " ---------------------------------------------------------------------
-" netrw#NetSource: source a remotely hosted vim script {{{2
+" netrw#NetSource: source a remotely hosted Vim script {{{2
 " uses NetRead to get a copy of the file into a temporarily file,
 "              then sources that file,
 "              then removes that file.
index 7c686ef4b823c5e9bbd6ab46ff5e284541d203b7..5655acffa3dfb75ec818d3e80a2b7c3232b04388 100644 (file)
@@ -460,7 +460,7 @@ file using root-relative paths, use the full path:
 ==============================================================================
 4. Network-Oriented File Transfer                      *netrw-xfer* {{{1
 
-Network-oriented file transfer under Vim is implemented by a vim script
+Network-oriented file transfer under Vim is implemented by a Vim script
 (<netrw.vim>) using plugin techniques.  It currently supports both reading and
 writing across networks using rcp, scp, ftp or ftp+<.netrc>, scp, fetch,
 dav/cadaver, rsync, or sftp.
index 1ddc9d2a249df6ec3b143bbb51c45cbc53395ffd..7b91ff23ef2ef4781495a0ad0f3914591cd71c8c 100644 (file)
@@ -1486,7 +1486,7 @@ syn match vim9SearchDelim '^\s*\zs:[/?]\|[/?]$'   contained contains=vimCmdSep
 syn region     vimGlobal       matchgroup=Statement start='\<g\%[lobal]!\=/'  skip='\\.' end='/'       skipwhite nextgroup=vimSubst1
 syn region     vimGlobal       matchgroup=Statement start='\<v\%[global]!\=/' skip='\\.' end='/'       skipwhite nextgroup=vimSubst1
 
-" Vim9 Script Regions: {{{2
+" Vim9 script Regions: {{{2
 " ==================
 
 if s:vim9script
index e48279bd1a5fefd5ebf3e7413e453b023efdbf4f..3509401edb5af27c523891266a94a97aa3280366 100644 (file)
@@ -5,10 +5,11 @@
 " Version:     0.1.18
 " URL:   http://www.vim.org/scripts/script.php?script_id=945
 " Last Change: 2021 Feb 03
+"               2025 Apr 27 by Vim Project correct Vim script spelling
 
 " THE ORIGINAL AUTHOR'S NOTES:
 "
-" This is my very first vim script, I hope to have
+" This is my very first Vim script, I hope to have
 " done it the right way.
 "
 " I must directly or indirectly thank the author of java.vim and ruby.vim:
index fc94abd522364b2df71416cd8e6862232f8ced08..592acadc09fb58d83e0ccfa7fe74cb1266cafef5 100644 (file)
@@ -149,7 +149,7 @@ def Foo()
 enddef
 
 
-# Issue #16227 (Vimscript ternary expression highlighting)
+# Issue #16227 (Vim script ternary expression highlighting)
 
 var foo = 'foo'                         # comment
 var bar = foo == 'foo' ? 'bar' : 'baz'
index aecfc11427e1bd170374e6e6a19997e9e95c8dd5..0b9f4c25259b58906a36487d57d4864becf50964 100644 (file)
@@ -7,7 +7,7 @@ clearmatches()
 echo "Foo" | clearmatches()
 
 
-# Issue 16721 (vimscript highlight of builtin function after |)
+# Issue 16721 (Vim script highlight of builtin function after |)
 
 &directory = $'{$MYVIMDIR}/.data/swap/'
 &backupdir = $'{$MYVIMDIR}/.data/backup//'
index d379d8f450e7eabfbb89bb85ce61ec6f2592080e..819a1ada2c5f0e27a44e01e111200165178caefd 100644 (file)
@@ -99,7 +99,7 @@ def Foo(
     z: string = "zed")
 enddef
 
-" Issue #16243 (vimscript def parameters syntax highlight is wrong)
+" Issue #16243 (Vim script def parameters syntax highlight is wrong)
 
 def Test(lines: list<number> = [line('.'), line('.')]): void
 enddef
index c09019e087844294a791871bf01361bf648c84b8..95cf4586e1b55a6dc2ac396a25aafdca678f1864 100644 (file)
@@ -177,7 +177,7 @@ function Foo(...)
 endfunction
 
 
-" Issue #16243 (vimscript def parameters syntax highlight is wrong)
+" Issue #16243 (Vim script def parameters syntax highlight is wrong)
 
 function Test(lines = [line('.'), line('.')])
 endfunction
index 2ee17a29abdbcd9d17c24ee97634bcb6f3013b9f..741ec813493a671d0f53ab68e7641cd972e1666a 100644 (file)
@@ -1546,7 +1546,7 @@ syn match vim9SearchDelim '^\s*\zs:[/?]\|[/?]$'   contained contains=vimCmdSep
 syn region     vimGlobal       matchgroup=Statement start='\<g\%[lobal]!\=/'  skip='\\.' end='/'       skipwhite nextgroup=vimSubst1
 syn region     vimGlobal       matchgroup=Statement start='\<v\%[global]!\=/' skip='\\.' end='/'       skipwhite nextgroup=vimSubst1
 
-" Vim9 Script Regions: {{{2
+" Vim9 script Regions: {{{2
 " ==================
 
 if s:vim9script
index 991feb963158ab93d85768300504cdfecc58d116..c8d2707a9fe3c5dba0487c6e84cba9d72b19d54d 100644 (file)
@@ -1215,14 +1215,14 @@ endif
        $(MAKE) -C xxd -f Make_ming.mak clean
        $(MAKE) -C tee -f Make_ming.mak clean
 
-# Run vim script to generate the Ex command lookup table.
+# Run Vim script to generate the Ex command lookup table.
 # This only needs to be run when a command name has been added or changed.
 # If this fails because you don't have Vim yet, first build and install Vim
 # without changes.
 cmdidxs: ex_cmds.h
        vim --clean -N -X --not-a-term -u create_cmdidxs.vim -c quit
 
-# Run vim script to generate the normal/visual mode command lookup table.
+# Run Vim script to generate the normal/visual mode command lookup table.
 # This only needs to be run when a new normal/visual mode command has been
 # added.  If this fails because you don't have Vim yet:
 #   - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command.
index ab6bd6c07e572bf7aded49855e71f9451758816d..d6dbd2b7a26267299086bd329cf6036ee9bded3b 100644 (file)
@@ -1430,14 +1430,14 @@ clean: testclean
        $(MAKE) /NOLOGO -f Make_mvc.mak clean
        cd ..
 
-# Run vim script to generate the Ex command lookup table.
+# Run Vim script to generate the Ex command lookup table.
 # This only needs to be run when a command name has been added or changed.
 # If this fails because you don't have Vim yet, first build and install Vim
 # without changes.
 cmdidxs: ex_cmds.h
        vim --clean -N -X --not-a-term -u create_cmdidxs.vim -c quit
 
-# Run vim script to generate the normal/visual mode command lookup table.
+# Run Vim script to generate the normal/visual mode command lookup table.
 # This only needs to be run when a new normal/visual mode command has been
 # added.  If this fails because you don't have Vim yet:
 #   - change nv_cmds[] in nv_cmds.h to add the new normal/visual mode command.
index cde2e5581d3fd7c9eeac62dd6aba6fa60fdd3aab..962e47b0e104964815987aac293b412d1901a4ef 100644 (file)
@@ -2037,7 +2037,7 @@ autoconf:
        -rm -rf autom4te.cache
        -rm -f auto/config.status auto/config.cache
 
-# Run vim script to generate the Ex command lookup table.
+# Run Vim script to generate the Ex command lookup table.
 # This only needs to be run when a command name has been added or changed.
 # If this fails because you don't have Vim yet, first build and install Vim
 # without changes.
@@ -2045,7 +2045,7 @@ autoconf:
 cmdidxs: ex_cmds.h
        vim --clean -X --not-a-term -S create_cmdidxs.vim -c quit
 
-# Run vim script to generate the normal/visual mode command lookup table.
+# Run Vim script to generate the normal/visual mode command lookup table.
 # This only needs to be run when a new normal/visual mode command has been
 # added.
 # This requires a "vim" executable with the +eval feature.
index 404298863dc9cb220d2cd264762f0524d1138a74..a01f695d93e5ce0f17cdb29d606d5943d694f0cd 100644 (file)
@@ -35,7 +35,7 @@ clientserver.c        | client server functionality
 clipboard.c    | handling the clipboard
 cmdexpand.c    | command-line completion
 cmdhist.c      | command-line history
-debugger.c     | vim script debugger
+debugger.c     | Vim script debugger
 diff.c         | diff mode (vimdiff)
 drawline.c     | drawing a window line
 drawscreen.c   | drawing the windows
@@ -70,7 +70,7 @@ option.c      | options
 optionstr.c    | handling string options
 popupmenu.c    | popup menu
 popupwin.c     | popup window
-profiler.c     | vim script profiler
+profiler.c     | Vim script profiler
 quickfix.c     | quickfix commands (":make", ":cn")
 regexp.c       | pattern matching
 register.c     | handling registers
@@ -91,7 +91,7 @@ textformat.c  | text formatting
 textobject.c   | text objects
 textprop.c     | text properties
 time.c         | time and timer functions
-typval.c       | vim script type/value functions
+typval.c       | Vim script type/value functions
 undo.c         | undo and redo
 usercmd.c      | user defined commands
 userfunc.c     | user defined functions
index e89116452c424edf088aaa5c732315c9352d8999..530cc95fd339cd2ad3520f0d043ab0123848d85e 100644 (file)
@@ -2284,7 +2284,7 @@ get_lval(
     {
        where_T     where = WHERE_INIT;
 
-       // In a vim9 script, do type check and make sure the variable is
+       // In a Vim9 script, do type check and make sure the variable is
        // writable.
        if (check_typval_type(lp->ll_valtype, rettv, where) == FAIL)
            return NULL;
index 4e6eca89716433d963400694f5b5116bfcf46d6d..400169a59ca8d5ddbd09a3da3b790a66a5b66797 100644 (file)
@@ -9077,7 +9077,7 @@ test_gui_w32_sendevent_mouse(dict_T *args)
        if (dict_get_bool(args, "cell", FALSE))
        {
            // calculate the middle of the character cell
-           // Note: Cell coordinates are 1-based from vimscript
+           // Note: Cell coordinates are 1-based from Vim script
            int pY = (row - 1) * gui.char_height + gui.char_height / 2;
            int pX = (col - 1) * gui.char_width + gui.char_width / 2;
            gui_mouse_moved(pX, pY);
index 83767ece9308994602be7e5729341f98a4655392..884a7a9cebca28e6360d24aead3fea2f7bb748a3 100644 (file)
@@ -34,7 +34,7 @@
 // - warning: format ‘%S’ expects argument of type ‘wchar_t *’, but argument 4 has type ‘char *’
 // - warning: unknown conversion type character ‘b’ in format
 //
-// These formats are in practise only used from vim script printf()
+// These formats are in practise only used from Vim script printf()
 // function and never as literals in C code.
 char *fmt_012p = "%012p";
 char *fmt_5S   = "%5S";
@@ -158,12 +158,12 @@ test_trunc_string_mbyte(void)
 /*
  * Test vim_snprintf() with a focus on checking that truncation is
  * correct when buffer is small, since it cannot be tested from
- * vim script tests. Check that:
+ * Vim script tests. Check that:
  * - no buffer overflows happens (with valgrind or asan)
  * - output string is always NUL terminated.
  *
  * Not all formats of vim_snprintf() are checked here. They are
- * checked more exhaustively in Test_printf*() vim script tests.
+ * checked more exhaustively in Test_printf*() Vim script tests.
  */
     static void
 test_vim_snprintf(void)
@@ -290,7 +290,7 @@ test_vim_snprintf(void)
        assert(bsize == 0 || STRNCMP(buf, "\x01\x02", bsize_int) == 0);
        assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0');
 
-       // %p format is not tested in vim script tests Test_printf*()
+       // %p format is not tested in Vim script tests Test_printf*()
        // as it only makes sense in C code.
        // NOTE: SunOS libc doesn't use the prefix "0x" on %p.
 #ifdef SUN_SYSTEM
index 504d71364756dcbf58a9852199a01aaaa8abc54a..00da9b64803e7cff419713e0f6d58f58de085906 100644 (file)
@@ -8,7 +8,7 @@
  */
 
 /*
- * profiler.c: vim script profiler
+ * profiler.c: Vim script profiler
  */
 
 #include "vim.h"
index 45e1b189eb32edffa6da38608a5e88ca4193570b..898f620efe133a0fa581902cb56f35e5e047f87a 100644 (file)
@@ -1976,7 +1976,7 @@ struct ufunc_S
 #define FC_DEAD            0x80        // function kept only for reference to dfunc
 #define FC_EXPORT   0x100      // "export def Func()"
 #define FC_NOARGS   0x200      // no a: variables in lambda
-#define FC_VIM9            0x400       // defined in vim9 script file
+#define FC_VIM9            0x400       // defined in Vim9 script file
 #define FC_CFUNC    0x800      // defined as Lua C func
 #define FC_COPY            0x1000      // copy of another function by
                                // copy_lambda_to_global_func()
index c4b7b5743efccb47475b43fcea98220c30732142..9b2fee35c1922776cbcd0ca87597b7f0dc63b27a 100644 (file)
@@ -4267,7 +4267,7 @@ func Test_ex_command_completion()
   " required for :*
   set cpo+=*
   let list = filter(getcompletion('', 'command'), 'exists(":" . v:val) == 0')
-  " :++ and :-- are only valid in Vim9 Script context, so they can be ignored
+  " :++ and :-- are only valid in Vim9 script context, so they can be ignored
   call assert_equal(['++', '--'], sort(list))
   call assert_equal(2, exists(':k'))
   call assert_equal(0, exists(':ke'))
index 3692eee5fa8884a277753708154ac39b45e5ab36..55b2ffff201cc8b41bd67494adb74a5ee65cc7b6 100644 (file)
@@ -57,7 +57,7 @@ func Test_different_script()
   call assert_fails('source XtwoScript', 'E121:')
 endfunc
 
-" When sourcing a vim script, shebang should be ignored.
+" When sourcing a Vim script, shebang should be ignored.
 func Test_source_ignore_shebang()
   call writefile(['#!./xyzabc', 'let g:val=369'], 'Xsisfile.vim', 'D')
   source Xsisfile.vim
@@ -408,7 +408,7 @@ func Test_source_buffer_vim9()
   source
   call assert_equal(10, Xtestfunc())
 
-  " test for sourcing a vim9 script with line continuation
+  " test for sourcing a Vim9 script with line continuation
   %d _
   let lines =<< trim END
      vim9script
index 5407662cc222b485c3557f5cf0c5844cc91e90d0..d38e1c89683b0a345b3f75af559e20e05a2afd00 100644 (file)
@@ -159,7 +159,7 @@ def Test_cmdmod_execute()
   v9.CheckScriptSuccess(lines)
   delfunc g:TheFunc
 
-  # vim9cmd execute(cmd) executes code in vim9 script context
+  # vim9cmd execute(cmd) executes code in Vim9 script context
   lines =<< trim END
     vim9cmd execute("g:vim9executetest = 'bar'")
     call assert_equal('bar', g:vim9executetest)
@@ -176,7 +176,7 @@ def Test_cmdmod_execute()
   unlet g:vim9executetest1
   unlet g:vim9executetest2
 
-  # legacy call execute(cmd) executes code in vim script context
+  # legacy call execute(cmd) executes code in Vim script context
   lines =<< trim END
     vim9script
     legacy call execute("let g:vim9executetest = 'bar'")
index 64922b7d184266380f9f997588b2ed8c467bbf83..b994855b8cb69cb9fa4d0f06b6e14cb99b9f939d 100644 (file)
@@ -1,6 +1,6 @@
 vim9script
 
-# Utility functions for testing vim9 script
+# Utility functions for testing Vim9 script
 
 # Use a different file name for each run.
 var sequence = 1
index b316b64c9242df3f21b0fb54ff57aad981f7849f..cfa01ff9e79247adf529789894812b243c3afd4f 100644 (file)
@@ -1411,7 +1411,7 @@ test_gui_mouse_event(dict_T *args)
        if (dict_get_bool(args, "cell", FALSE))
        {
            // calculate the middle of the character cell
-           // Note: Cell coordinates are 1-based from vimscript
+           // Note: Cell coordinates are 1-based from Vim script
            pY = (row - 1) * gui.char_height + gui.char_height / 2;
            pX = (col - 1) * gui.char_width + gui.char_width / 2;
        }