nvim-orgmode / orgmode

Orgmode clone written in Lua for Neovim 0.9+.
https://nvim-orgmode.github.io/
MIT License
2.8k stars 121 forks source link

fix(highlights): make linked hls set `hi-default` #699

Closed PriceHiller closed 2 months ago

PriceHiller commented 2 months ago

This PR allows the linked highlights to not override/respect already set highlights.

This ensures any colorschemes or custom highlights set before Orgmode is loaded do not have their highlights invalidated when Orgmode loads or is reloaded. By setting default = true for the linked highlights, lazy loading plays nicer with Orgmode.