mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs(lua): add missing word in docs for vim.empty_dict (#24401)
This commit is contained in:
parent
b74262a336
commit
cfcda91827
@ -893,10 +893,10 @@ Log levels are one of the values defined in `vim.log.levels`:
|
|||||||
vim.log.levels.OFF
|
vim.log.levels.OFF
|
||||||
|
|
||||||
vim.empty_dict() *vim.empty_dict()*
|
vim.empty_dict() *vim.empty_dict()*
|
||||||
Creates a special empty table (marked with a metatable), which Nvim to an
|
Creates a special empty table (marked with a metatable), which Nvim
|
||||||
empty dictionary when translating Lua values to Vimscript or API types.
|
converts to an empty dictionary when translating Lua values to Vimscript
|
||||||
Nvim by default converts an empty table `{}` without this metatable to an
|
or API types. Nvim by default converts an empty table `{}` without this
|
||||||
list/array.
|
metatable to an list/array.
|
||||||
|
|
||||||
Note: If numeric keys are present in the table, Nvim ignores the metatable
|
Note: If numeric keys are present in the table, Nvim ignores the metatable
|
||||||
marker and converts the dict to a list/array anyway.
|
marker and converts the dict to a list/array anyway.
|
||||||
|
@ -69,10 +69,10 @@
|
|||||||
--- to other restrictions such as |textlock|).
|
--- to other restrictions such as |textlock|).
|
||||||
function vim.in_fast_event() end
|
function vim.in_fast_event() end
|
||||||
|
|
||||||
--- Creates a special empty table (marked with a metatable), which Nvim to an
|
--- Creates a special empty table (marked with a metatable), which Nvim
|
||||||
--- empty dictionary when translating Lua values to Vimscript or API types.
|
--- converts to an empty dictionary when translating Lua values to Vimscript
|
||||||
--- Nvim by default converts an empty table `{}` without this metatable to an
|
--- or API types. Nvim by default converts an empty table `{}` without this
|
||||||
--- list/array.
|
--- metatable to an list/array.
|
||||||
---
|
---
|
||||||
--- Note: If numeric keys are present in the table, Nvim ignores the metatable
|
--- Note: If numeric keys are present in the table, Nvim ignores the metatable
|
||||||
--- marker and converts the dict to a list/array anyway.
|
--- marker and converts the dict to a list/array anyway.
|
||||||
|
Loading…
Reference in New Issue
Block a user