aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-11-29 20:31:19 -0700
committerDundar Göc <gocdundar@gmail.com>2021-11-30 09:03:41 +0100
commitb6e531c1d90da143d4351442baee8fef0479a6f7 (patch)
tree22560e5c2bdf16240104901cbcdaccc939a53391 /runtime/lua/vim/shared.lua
parentbc1d13bb368298988e87983307e6d92f20441f56 (diff)
downloadrneovim-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.lua1
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))