docs(lsp): add annotations for private functions

This commit is contained in:
Gregory Anders
2021-11-29 20:31:19 -07:00
committed by Dundar Göc
parent bc1d13bb36
commit b6e531c1d9
9 changed files with 43 additions and 52 deletions

View File

@@ -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))