Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defautlStyle not applying to built-in "TODO:" and "FIXME:" without keywordsPattern #238

Open
agowa opened this issue Feb 14, 2024 · 0 comments

Comments

@agowa
Copy link

agowa commented Feb 14, 2024

Hi, I just noticed that todohighlight.defaultStyle does NOT apply to the built-in types neither by default (when the built-ins are missing from the keywords list) nor when TODO: and FIXME: are explicitly specified within todohighlight.keywords.

However when using todohighlight.keywordsPattern the todohighlight.defaultStyle settings apply.

However when using todohighlight.keywordsPattern it (partially?) does. The partially part may be that the defaultStyle gets combined with the in-code defaults for the built-ins. (The "partially" part was a caching issue, when editing the settings and only applies within the settings file itself until it is reopened. Some settings apply immediately other don't. Probably defaults aren't re-applied until the view is refreshed I.E. the tab switched to something else and back)

Examples:

image
image
image

@agowa agowa changed the title defautlStyle not applying to built-in "TODO:" and "FIXME:" defautlStyle not applying to built-in "TODO:" and "FIXME:" without keywordsPattern Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant