mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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*
|
*lua-vim-variables*
|
||||||
The Vim editor global dictionaries |g:| |w:| |b:| |t:| |v:| can be accessed
|
The Vim editor global dictionaries |g:| |w:| |b:| |t:| |v:| can be accessed
|
||||||
from Lua conveniently and idiomatically by referencing the `vim.*` Lua tables
|
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.
|
variables from Lua.
|
||||||
|
|
||||||
Example: >
|
Example: >
|
||||||
|
|
||||||
vim.g.foo = 5 -- Set the g:foo Vimscript variable.
|
vim.g.foo = 5 -- Set the g:foo Vim script variable.
|
||||||
print(vim.g.foo) -- Get and print the g:foo Vimscript variable.
|
print(vim.g.foo) -- Get and print the g:foo Vim script variable.
|
||||||
vim.g.foo = nil -- Delete (:unlet) the Vimscript variable.
|
vim.g.foo = nil -- Delete (:unlet) the Vim script variable.
|
||||||
|
|
||||||
vim.g *vim.g*
|
vim.g *vim.g*
|
||||||
Global (|g:|) editor variables.
|
Global (|g:|) editor variables.
|
||||||
|
@@ -2182,7 +2182,7 @@ f_getcharmod(typval_T *argvars UNUSED, typval_T *rettv)
|
|||||||
/*
|
/*
|
||||||
* Process messages that have been queued for netbeans or clientserver.
|
* Process messages that have been queued for netbeans or clientserver.
|
||||||
* Also check if any jobs have ended.
|
* Also check if any jobs have ended.
|
||||||
* These functions can call arbitrary vimscript and should only be called when
|
* These functions can call arbitrary Vim script and should only be called when
|
||||||
* it is safe to do so.
|
* it is safe to do so.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@@ -1853,7 +1853,7 @@ luaV_setvar(lua_State *L)
|
|||||||
// Update the key
|
// Update the key
|
||||||
typval_T tv;
|
typval_T tv;
|
||||||
|
|
||||||
// Convert the lua value to a vimscript type in the temporary variable
|
// Convert the lua value to a Vim script type in the temporary variable
|
||||||
lua_pushvalue(L, 4);
|
lua_pushvalue(L, 4);
|
||||||
if (luaV_totypval(L, -1, &tv) == FAIL)
|
if (luaV_totypval(L, -1, &tv) == FAIL)
|
||||||
return luaL_error(L, "Couldn't convert lua value");
|
return luaL_error(L, "Couldn't convert lua value");
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3474,
|
||||||
/**/
|
/**/
|
||||||
3473,
|
3473,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user