docs: gopher.TsResult
This commit is contained in:
parent
70b2a790c3
commit
360a5c254c
1 changed files with 5 additions and 5 deletions
|
|
@ -73,11 +73,11 @@ local function get_captures(query, node, bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@class gopher.TsResult
|
---@class gopher.TsResult
|
||||||
---@field name string
|
---@field name string Name of the struct, function, etc
|
||||||
---@field start integer
|
---@field start integer Line number where the declaration starts
|
||||||
---@field end_ integer
|
---@field end_ integer Line number where the declaration ends
|
||||||
---@field indent integer
|
---@field indent integer Number of spaces/tabs in the current cursor line
|
||||||
---@field is_varstruct boolean
|
---@field is_varstruct boolean Is struct declared as `var S struct{}` or `s := struct{}{}`
|
||||||
|
|
||||||
---@param bufnr integer
|
---@param bufnr integer
|
||||||
---@param parent_type string[]
|
---@param parent_type string[]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue