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.
-*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
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
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
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
-" autoload/editorconfig.vim: EditorConfig native Vimscript plugin
+" autoload/editorconfig.vim: EditorConfig native Vim script plugin
" Copyright (c) 2011-2019 EditorConfig Team
" All rights reserved.
"
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
-" 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.
"
"| 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]\+\)*\)\?\)\?"
-" 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 = ''
#" 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