Skip to content

Changing colorscheme looses syntax highlight #31

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

Open
goeil opened this issue Aug 29, 2024 · 1 comment
Open

Changing colorscheme looses syntax highlight #31

goeil opened this issue Aug 29, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@goeil
Copy link

goeil commented Aug 29, 2024

Your plugin is fantastic, I like it and proposes everything I need.
The API rocks.

Meanwhile, when the plugin is active, I loose the syntax highlight of files loaded by ftdetect / ftplugin (I'm not sure which one).

Is there a way to refresh the ftdetect process after changing theme with setThemeByName or setThemeByIndex ?
Should I use the after or globalAfter you provide?

@zaldih
Copy link
Owner

zaldih commented Oct 4, 2024

Thank you very much for your comment! I'm happy you found it useful.

I don't really know, but I'm going to look into it. I hope someone can share something!

@zaldih zaldih added the help wanted Extra attention is needed label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants