docs: gopher.TsResult

This commit is contained in:
Oleksandr Smirnov 2025-09-04 16:22:30 +03:00
parent 70b2a790c3
commit 360a5c254c
No known key found for this signature in database

View file

@ -73,11 +73,11 @@ local function get_captures(query, node, bufnr)
end
---@class gopher.TsResult
---@field name string
---@field start integer
---@field end_ integer
---@field indent integer
---@field is_varstruct boolean
---@field name string Name of the struct, function, etc
---@field start integer Line number where the declaration starts
---@field end_ integer Line number where the declaration ends
---@field indent integer Number of spaces/tabs in the current cursor line
---@field is_varstruct boolean Is struct declared as `var S struct{}` or `s := struct{}{}`
---@param bufnr integer
---@param parent_type string[]