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

@@ -263,6 +263,7 @@ function M.rename(new_name)
request('textDocument/rename', params)
end
---@private
local function prepare_rename(err, result)
if err == nil and result == nil then
vim.notify('nothing to rename', vim.log.levels.INFO)