Feat: do not override existing highlights during theme setup #164

Open
opened 2025-02-13 12:27:32 -06:00 by dupeiran001 · 0 comments
dupeiran001 commented 2025-02-13 12:27:32 -06:00 (Migrated from github.com)

I'm willing to let my theme to set the highlights for leetcode plugin, I believe we can simply add an default to the opts in this line during setting up highlights, to avoid overriding existing highlight groups, as documented here: nvim_set_hl()

I'm willing to let my theme to set the highlights for leetcode plugin, I believe we can simply add an `default` to the opts in [this line](https://github.com/kawre/leetcode.nvim/blob/db7e1cd6b9191b34b4c1f2f96e4e3949cde9f951/lua/leetcode/theme/init.lua#L66) during setting up highlights, to avoid overriding existing highlight groups, as documented here: [nvim_set_hl()](https://neovim.io/doc/user/api.html#nvim_set_hl())
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
arduinohatesme/leetcode.nvim#164
No description provided.