From cf43a58f627eb68a766d96d5781ac3283037dc1a Mon Sep 17 00:00:00 2001 From: uga-rosa Date: Mon, 31 Jul 2023 19:55:51 +0900 Subject: [PATCH] Improve the documentation (item-attributes-highlights) --- doc/ddu.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/ddu.txt b/doc/ddu.txt index 0b84e47..a072a25 100644 --- a/doc/ddu.txt +++ b/doc/ddu.txt @@ -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|.