Skip to content

Commit

Permalink
Improve the documentation (item-attributes-highlights)
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Jul 31, 2023
1 parent 3f6643f commit cf43a58
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/ddu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,11 @@ highlights (object[]) (Optional)
The list of highlight.

name (string)
The highlight name.
NOTE: Each highlight must be different name.
The highlight name. It is used for |prop_type_add()| in Vim.
It is not used in Neovim.
NOTE: Each name must be unique for the highlight group.
Because of possible interference with other plugins, a naming
convention like `ddu-{type}-{name}-{group}` is recommended.

hl_group (string)
|:highlight| group. Please see |highlight-groups|.
Expand Down

0 comments on commit cf43a58

Please sign in to comment.