docs: fix
This commit is contained in:
parent
44485a918b
commit
3e53cfd412
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ local function handler_user_args(args)
|
||||||
end
|
end
|
||||||
|
|
||||||
---Adds tags to a struct under the cursor
|
---Adds tags to a struct under the cursor
|
||||||
---@param ... string Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
|
---@param ... string Tags to add to the struct fields. If not provided, it will use [config.gotag.default_tag]
|
||||||
function struct_tags.add(...)
|
function struct_tags.add(...)
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
local fpath = vim.fn.expand "%"
|
local fpath = vim.fn.expand "%"
|
||||||
|
|
@ -99,7 +99,7 @@ function struct_tags.add(...)
|
||||||
end
|
end
|
||||||
|
|
||||||
---Removes tags from a struct under the cursor
|
---Removes tags from a struct under the cursor
|
||||||
---@param ... string Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
|
---@param ... string Tags to add to the struct fields. If not provided, it will use [config.gotag.default_tag]
|
||||||
function struct_tags.remove(...)
|
function struct_tags.remove(...)
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
local fpath = vim.fn.expand "%"
|
local fpath = vim.fn.expand "%"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue