kosayoda / nvim-lightbulb

VSCode 💡 for neovim's built-in LSP.
MIT License
783 stars 27 forks source link

feat: use hi-default #50

Closed fitrh closed 1 year ago

fitrh commented 1 year ago

Avoid overriding highlights if they are already defined, e.g. by colorscheme.

The link_highlights is useful as a fallback, but they should not override them if they are defined.

IMO, hi-default is a best-practice for plugins when creating highlight groups, see :h hi-default for more.

kosayoda commented 1 year ago

Thanks! I totally agree, and just didn't remember the default option.