feat(emmy): add emmylua annotations

This commit is contained in:
Lewis Russell 2022-10-31 10:52:52 +00:00 committed by Christian Clason
parent 4392211d77
commit 0948bf2274
8 changed files with 257 additions and 121 deletions

View file

@ -102,6 +102,8 @@ local folds_levels = tsutils.memoize_by_buf_tick(function(bufnr)
return levels
end)
---@param lnum integer
---@return string
function M.get_fold_indic(lnum)
if not parsers.has_parser() or not lnum then
return "0"