This commit is contained in:
Oleksandr Smirnov 2025-03-19 16:06:07 +02:00
parent 07f86d669b
commit 4406b25c0f
No known key found for this signature in database

View file

@ -129,6 +129,25 @@ Example:
Name string `yaml:name` Name string `yaml:name`
} }
< <
------------------------------------------------------------------------------
*struct_tags.add()*
`struct_tags.add`({...})
tags to a struct under the cursor
Parameters ~
{...} `(string)` Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
------------------------------------------------------------------------------
*struct_tags.remove()*
`struct_tags.remove`({...})
tags from a struct under the cursor
Parameters ~
{...} `(string)` Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
------------------------------------------------------------------------------
*struct_tags.clear()*
`struct_tags.clear`()
all tags from a struct under the cursor
============================================================================== ==============================================================================
------------------------------------------------------------------------------ ------------------------------------------------------------------------------