Using CmpItemKind*Default causes an issue where nvim-cmp overrides the
colorscheme if loaded later, e.g. lazy-loading on InsertEnter event.
According to nvim-cmp/plugin/cmp.lua#L28, the CmpItemKind*Default
is not to be overridden because they sets [default] to false, also,
in :h cmp-highlight they never mentions CmpItemKind*Default.
The following differences use the dark_default variant and
load nvim-cmp on InsertEnter and CmdineEnter
Using
CmpItemKind*Default
causes an issue where nvim-cmp overrides the colorscheme if loaded later, e.g. lazy-loading onInsertEnter
event.According to nvim-cmp/plugin/cmp.lua#L28, the
CmpItemKind*Default
is not to be overridden because they sets[default]
to false, also, in:h cmp-highlight
they never mentionsCmpItemKind*Default
.The following differences use the
dark_default
variant and load nvim-cmp onInsertEnter
andCmdineEnter
Before
After