patch 8.2.3474: some places use "Vimscript" instead of "Vim script"
Problem: Some places use "Vimscript" instead of "Vim script". Solution: Consistently use "Vim script". (Hirohito Higashi, closes #8910)
This commit is contained in:
@ -227,14 +227,14 @@ Vim evaluation and command execution, and others.
|
||||
*lua-vim-variables*
|
||||
The Vim editor global dictionaries |g:| |w:| |b:| |t:| |v:| can be accessed
|
||||
from Lua conveniently and idiomatically by referencing the `vim.*` Lua tables
|
||||
described below. In this way you can easily read and modify global Vimscript
|
||||
described below. In this way you can easily read and modify global Vim script
|
||||
variables from Lua.
|
||||
|
||||
Example: >
|
||||
|
||||
vim.g.foo = 5 -- Set the g:foo Vimscript variable.
|
||||
print(vim.g.foo) -- Get and print the g:foo Vimscript variable.
|
||||
vim.g.foo = nil -- Delete (:unlet) the Vimscript variable.
|
||||
vim.g.foo = 5 -- Set the g:foo Vim script variable.
|
||||
print(vim.g.foo) -- Get and print the g:foo Vim script variable.
|
||||
vim.g.foo = nil -- Delete (:unlet) the Vim script variable.
|
||||
|
||||
vim.g *vim.g*
|
||||
Global (|g:|) editor variables.
|
||||
|
||||
Reference in New Issue
Block a user