Skip to content

Commit dbb699c

Browse files
committed
chore(api): annotation enhancements
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent 8c5308f commit dbb699c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/project/api.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,8 @@ function Api.get_project_root(bufnr)
303303
if in_list(ops, method) then
304304
success, root, lsp_method = SWITCH[method]()
305305
if success then
306+
---@cast root string
307+
---@cast lsp_method string
306308
table.insert(roots, { root = root, method_msg = lsp_method, method = method })
307309
end
308310
end

0 commit comments

Comments
 (0)