diff options
author | Gnik <gnikdroy@gmail.com> | 2023-07-22 13:27:25 +0545 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 15:42:25 +0800 |
commit | cfcda91827d73dda740e372b237383c19e63dab9 (patch) | |
tree | b46de53c782624812c9ac5180e8af1a628aefbf4 /runtime/lua/vim | |
parent | b74262a336d3e5cf69930fcec69a12fdad16d76c (diff) | |
download | rneovim-cfcda91827d73dda740e372b237383c19e63dab9.tar.gz rneovim-cfcda91827d73dda740e372b237383c19e63dab9.tar.bz2 rneovim-cfcda91827d73dda740e372b237383c19e63dab9.zip |
docs(lua): add missing word in docs for vim.empty_dict (#24401)
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_meta/builtin.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/lua/vim/_meta/builtin.lua b/runtime/lua/vim/_meta/builtin.lua index 980e40d61b..88f07f2a51 100644 --- a/runtime/lua/vim/_meta/builtin.lua +++ b/runtime/lua/vim/_meta/builtin.lua @@ -69,10 +69,10 @@ --- to other restrictions such as |textlock|). function vim.in_fast_event() end ---- Creates a special empty table (marked with a metatable), which Nvim to an ---- empty dictionary when translating Lua values to Vimscript or API types. ---- Nvim by default converts an empty table `{}` without this metatable to an ---- list/array. +--- Creates a special empty table (marked with a metatable), which Nvim +--- converts to an empty dictionary when translating Lua values to Vimscript +--- or API types. Nvim by default converts an empty table `{}` without this +--- metatable to an list/array. --- --- Note: If numeric keys are present in the table, Nvim ignores the metatable --- marker and converts the dict to a list/array anyway. |