Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Allow adding custom highlight groups that are not in theme.lua #99

Closed
mawkler opened this issue Jan 26, 2022 · 2 comments
Closed

Allow adding custom highlight groups that are not in theme.lua #99

mawkler opened this issue Jan 26, 2022 · 2 comments

Comments

@mawkler
Copy link
Contributor

mawkler commented Jan 26, 2022

This PR added the ability to customze highlight groups, which is awesome and a drastically better way of setting highlight compared to using the builtin highlight command. However onedark.nvim currently only allows customizing highlight groups that are already defined in theme.lua, and not new highlight groups that don't yet exist in theme.lua. Would it be possible to allow adding any highlight group when calling require('onedark').setup()?

@ful1e5 ful1e5 closed this as completed in 9dfb294 Feb 26, 2022
@ful1e5
Copy link
Owner

ful1e5 commented Feb 26, 2022

Now you can add a non-exists highlight by enabling dev mode.

@mawkler
Copy link
Contributor Author

mawkler commented Mar 1, 2022

Thank you for implementing this!

Just out of curiousity, what is the idea behind dev mode and why is this feature only available in dev mode? :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants