diff options
author | Gregory Anders <greg@gpanders.com> | 2021-11-29 20:31:19 -0700 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-11-30 09:03:41 +0100 |
commit | b6e531c1d90da143d4351442baee8fef0479a6f7 (patch) | |
tree | 22560e5c2bdf16240104901cbcdaccc939a53391 /runtime/lua/vim/shared.lua | |
parent | bc1d13bb368298988e87983307e6d92f20441f56 (diff) | |
download | rneovim-b6e531c1d90da143d4351442baee8fef0479a6f7.tar.gz rneovim-b6e531c1d90da143d4351442baee8fef0479a6f7.tar.bz2 rneovim-b6e531c1d90da143d4351442baee8fef0479a6f7.zip |
docs(lsp): add annotations for private functions
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r-- | runtime/lua/vim/shared.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua index bf77f0c776..1cf618725d 100644 --- a/runtime/lua/vim/shared.lua +++ b/runtime/lua/vim/shared.lua @@ -559,6 +559,7 @@ do return type(val) == t or (t == 'callable' and vim.is_callable(val)) end + ---@private local function is_valid(opt) if type(opt) ~= 'table' then return false, string.format('opt: expected table, got %s', type(opt)) |