tag_window
Add, remove, or toggle tags on windows to group them and match window rules.
Instructions
Add, remove, or toggle a static tag on a window. Tags are used for grouping windows and can be matched in window rules (e.g. hl.window_rule({ match = { tag = 'code' }, ... })). Confirmed syntax: hl.dsp.window.tag({ tag = '+code' }) adds, '-code' removes, 'code' (no prefix) toggles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag name with an action prefix: '+name' to add, '-name' to remove, 'name' (no prefix) to toggle | |
| target | No | Window address or selector; omit to tag the currently active window |