Mercurial > vim
changeset 36301:fc1aeadd8e5c draft
runtime(misc): Use consistent "Vim script" spelling
Commit: https://github.com/vim/vim/commit/a4205471adae39c80fb7f151a4f33051fcb80001
Author: h-east <h.east.727@gmail.com>
Date: Sun Oct 13 19:16:42 2024 +0200
runtime(misc): Use consistent "Vim script" spelling
References: https://groups.google.com/g/vim_dev/c/3Z5yM8KER2w/m/wAqws0QSEAAJ
closes: #15863
Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 13 Oct 2024 19:30:05 +0200 |
parents | c25bd3694f79 |
children | fb04b58dd2b6 |
files | runtime/autoload/getscript.vim runtime/doc/editing.txt runtime/menu.vim runtime/pack/dist/opt/comment/doc/comment.txt runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim runtime/syntax/modula2/opt/r10.vim src/testdir/script_util.vim src/testdir/test_expr.vim |
diffstat | 10 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/autoload/getscript.vim +++ b/runtime/autoload/getscript.vim @@ -365,7 +365,7 @@ fun! getscript#GetLatestVimScripts() endfun " --------------------------------------------------------------------- -" GetOneScript: (Get Latest Vim Script) this function operates {{{1 +" GetOneScript: (Get Latest Vim script) this function operates {{{1 " on the current line, interpreting two numbers and text as " ScriptID, SourceID, and Filename. " It downloads any scripts that have newer versions from vim.sourceforge.net.
--- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1,4 +1,4 @@ -*editing.txt* For Vim version 9.1. Last change: 2024 Jul 10 +*editing.txt* For Vim version 9.1. Last change: 2024 Oct 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1325,7 +1325,7 @@ used (Motif only offers one pattern, but For example, to have only Vim files in the dialog, you could use the following command: > - let g:browsefilter = "Vim Scripts\t*.vim\nVim Startup Files\t*vimrc\n" + let g:browsefilter = "Vim scripts\t*.vim\nVim Startup Files\t*vimrc\n" You can override the filter setting on a per-buffer basis by setting the b:browsefilter variable. You would most likely set b:browsefilter in a
--- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -1137,7 +1137,7 @@ else endif tmenu ToolBar.LoadSesn Choose a session to load tmenu ToolBar.SaveSesn Save current session - tmenu ToolBar.RunScript Choose a Vim Script to run + tmenu ToolBar.RunScript Choose a Vim script to run tmenu ToolBar.Make Make current project (:make) tmenu ToolBar.RunCtags Build tags in current directory tree (!ctags -R .) tmenu ToolBar.TagJump Jump to tag under cursor
--- a/runtime/pack/dist/opt/comment/doc/comment.txt +++ b/runtime/pack/dist/opt/comment/doc/comment.txt @@ -57,7 +57,7 @@ Vim script): > autocmd Filetype vim :setlocal commentstring="%s -This example sets the " as start of a comment for legacy Vim Script. For Vim9 +This example sets the " as start of a comment for legacy Vim script. For Vim9 script, you would instead use the "#" char: > autocmd Filetype vim :setlocal commentstring=#\ %s
--- a/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim +++ b/runtime/pack/dist/opt/editorconfig/autoload/editorconfig.vim @@ -1,4 +1,4 @@ -" autoload/editorconfig.vim: EditorConfig native Vimscript plugin +" autoload/editorconfig.vim: EditorConfig native Vim script plugin " Copyright (c) 2011-2019 EditorConfig Team " All rights reserved. "
--- a/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt +++ b/runtime/pack/dist/opt/editorconfig/doc/editorconfig.txt @@ -47,7 +47,7 @@ Specify the mode of EditorConfig core. G empty. Currently, the supported modes are "vim_core" (default) and "external_command". - vim_core: Use the included VimScript EditorConfig Core. + vim_core: Use the included Vim script EditorConfig Core. external_command: Run external EditorConfig Core. If "g:EditorConfig_core_mode" is not specified, this plugin will automatically
--- a/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim +++ b/runtime/pack/dist/opt/editorconfig/plugin/editorconfig.vim @@ -1,4 +1,4 @@ -" plugin/editorconfig.vim: EditorConfig native Vimscript plugin file +" plugin/editorconfig.vim: EditorConfig native Vim script plugin file " Copyright (c) 2011-2019 EditorConfig Team " All rights reserved. "
--- a/runtime/syntax/modula2/opt/r10.vim +++ b/runtime/syntax/modula2/opt/r10.vim @@ -157,7 +157,7 @@ syn match modula2Base16Num "0[ux][0-9A-F "| which greatly diminishes readability and thereby increases the opportunity "| for error during maintenance. Ideally, regular expressions should be split "| into small human readable pieces with interleaved comments that explain -"| precisely what each piece is doing. Vimscript imposes poor design. :-( +"| precisely what each piece is doing. Vim script imposes poor design. :-( syn match modula2Base10Num \ "\(\(0[bux]\@!\|[1-9]\)[0-9]*\('[0-9]\+\)*\)\(\.[0-9]\+\('[0-9]\+\)*\(e[+-]\?[0-9]\+\('[0-9]\+\)*\)\?\)\?"
--- a/src/testdir/script_util.vim +++ b/src/testdir/script_util.vim @@ -1,4 +1,4 @@ -" Functions shared by the tests for Vim Script +" Functions shared by the tests for Vim script " Commands to track the execution path of a script com! XpathINIT let g:Xpath = ''
--- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -929,7 +929,7 @@ func Test_string_interp() #" String conversion. call assert_equal('hello from ' .. v:version, $"hello from {v:version}") call assert_equal('hello from ' .. v:version, $'hello from {v:version}') - #" Paper over a small difference between VimScript behaviour. + #" Paper over a small difference between Vim script behaviour. call assert_equal(string(v:true), $"{v:true}") call assert_equal('(1+1=2)', $"(1+1={1 + 1})") #" Hex-escaped opening brace: char2nr('{') == 0x7b