docs: luaref cleanup #24541

- drop "luaref-" prefix in favor of "lua-" or nothing, where possible.
- remove redundant "luaref--lang…" and "luaref-api…" tags.
This commit is contained in:
Justin M. Keyes
2023-08-03 08:35:10 -07:00
committed by GitHub
parent 4d859d00d1
commit b034378cf5
8 changed files with 270 additions and 280 deletions

View File

@@ -167,8 +167,8 @@ the cache manually first:
<
------------------------------------------------------------------------------
See also:
• |lua-require|
• |luaref-pcall()|
• |lua-module-load|
• |pcall()|
==============================================================================
Using Vim commands and functions from Lua *lua-guide-vimscript*
@@ -186,7 +186,7 @@ Note that special characters will need to be escaped with backslashes:
>lua
vim.cmd("%s/\\Vfoo/bar/g")
<
An alternative is to use a literal string (see |luaref-literal|) delimited by
An alternative is to use a literal string (see |lua-literal|) delimited by
double brackets `[[ ]]` as in
>lua
vim.cmd([[%s/\Vfoo/bar/g]])