diff options
author | Elizabeth Paź <me@ehllie.xyz> | 2022-10-05 13:21:45 +0200 |
---|---|---|
committer | Elizabeth Paź <me@ehllie.xyz> | 2022-10-05 15:25:03 +0200 |
commit | 548a4e258777a405cc2b1225cab9a8292924407b (patch) | |
tree | 66fb52af5b647131a780613079debfee70804253 /runtime/lua/vim/shared.lua | |
parent | 1f2ded459a6f26635bf013da4100b3dedb777f73 (diff) | |
download | rneovim-548a4e258777a405cc2b1225cab9a8292924407b.tar.gz rneovim-548a4e258777a405cc2b1225cab9a8292924407b.tar.bz2 rneovim-548a4e258777a405cc2b1225cab9a8292924407b.zip |
docs(docstrings): fix runtime type annotations
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r-- | runtime/lua/vim/shared.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua index c5c31b6ddf..63a932479e 100644 --- a/runtime/lua/vim/shared.lua +++ b/runtime/lua/vim/shared.lua @@ -107,9 +107,11 @@ end --- ---@see |vim.gsplit()| --- +---@alias split_kwargs {plain: boolean, trimempty: boolean} | boolean | nil +--- ---@param s string String to split ---@param sep string Separator or pattern ----@param kwargs table Keyword arguments: +---@param kwargs split_kwargs Keyword arguments: --- - plain: (boolean) If `true` use `sep` literally (passed to string.find) --- - trimempty: (boolean) If `true` remove empty items from the front --- and back of the list |