aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2023-12-30 21:08:07 -0800
committerLewis Russell <me@lewisr.dev>2024-03-10 23:20:26 +0000
commit09a919f313ec8ae691798e45ee459a4467ce5d6a (patch)
tree82e7f737ea22b6a570a6efa69185e6e0be809bd1 /runtime/lua/vim/shared.lua
parent47942db30780b22774e810e1d0ade96bb6ba2da4 (diff)
downloadrneovim-09a919f313ec8ae691798e45ee459a4467ce5d6a.tar.gz
rneovim-09a919f313ec8ae691798e45ee459a4467ce5d6a.tar.bz2
rneovim-09a919f313ec8ae691798e45ee459a4467ce5d6a.zip
docs: more accurate typing for vim.tbl_extend
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r--runtime/lua/vim/shared.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua
index bd553598c7..a9eebf36da 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -402,7 +402,7 @@ end
---
---@see |extend()|
---
----@param behavior string Decides what to do if a key is found in more than one map:
+---@param behavior 'error'|'keep'|'force' Decides what to do if a key is found in more than one map:
--- - "error": raise an error
--- - "keep": use value from the leftmost map
--- - "force": use value from the rightmost map
@@ -418,7 +418,7 @@ end
---
---@generic T1: table
---@generic T2: table
----@param behavior "error"|"keep"|"force" (string) Decides what to do if a key is found in more than one map:
+---@param behavior 'error'|'keep'|'force' Decides what to do if a key is found in more than one map:
--- - "error": raise an error
--- - "keep": use value from the leftmost map
--- - "force": use value from the rightmost map