docs: fix

This commit is contained in:
Oleksandr Smirnov 2025-03-19 18:01:51 +02:00
parent 44485a918b
commit 3e53cfd412
No known key found for this signature in database

View file

@ -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 "%"