mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
docs(lsp): add annotations for private functions
This commit is contained in:

committed by
Dundar Göc

parent
bc1d13bb36
commit
b6e531c1d9
@@ -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))
|
||||
|
Reference in New Issue
Block a user