aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-01-09 09:26:45 -0800
committerGitHub <noreply@github.com>2025-01-09 09:26:45 -0800
commit7c00e0efbb18e8627ac59eaadf564a9f1b2bafcd (patch)
tree3bd51ffc188db702035a3eec647fa70b3367317c /runtime/doc/lua.txt
parent0c296ab22484b4c009d119908d1614a6c6d96b2c (diff)
downloadrneovim-7c00e0efbb18e8627ac59eaadf564a9f1b2bafcd.tar.gz
rneovim-7c00e0efbb18e8627ac59eaadf564a9f1b2bafcd.tar.bz2
rneovim-7c00e0efbb18e8627ac59eaadf564a9f1b2bafcd.zip
docs: misc #31867
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 6386240f07..9df9bc3ab5 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -1505,7 +1505,7 @@ vim.wo[{winid}][{bufnr}] *vim.wo*
Lua module: vim *lua-vim*
vim.cmd({command}) *vim.cmd()*
- Executes Vim script commands.
+ Executes Vimscript (|Ex-commands|).
Note that `vim.cmd` can be indexed with a command name to return a
callable function to the command.
@@ -1539,9 +1539,9 @@ vim.cmd({command}) *vim.cmd()*
Parameters: ~
• {command} (`string|table`) Command(s) to execute. If a string,
- executes multiple lines of Vim script at once. In this
- case, it is an alias to |nvim_exec2()|, where `opts.output`
- is set to false. Thus it works identical to |:source|. If a
+ executes multiple lines of Vimscript at once. In this case,
+ it is an alias to |nvim_exec2()|, where `opts.output` is
+ set to false. Thus it works identical to |:source|. If a
table, executes a single command. In this case, it is an
alias to |nvim_cmd()| where `opts` is empty.