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

Just call syntax-ppss-flush-cache instead of an explicit property. #786

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Sep 11, 2024

resolve #785

This issue was first introduced in #316 as a workaround for a problem with Emacs 25 not coloring properly. This approach was disadvantageous for large files, and although performance was improved in #531, we often suffered from flickering.

The previous approach of reapplying php-syntax-propertize-function was messing with Emacs' internal state, so resetting it seems to fix a lot of the issues.

refs #491, #308

This issue was first introduced in #316 as a workaround for a problem
with Emacs 25 not coloring properly. This approach was disadvantageous
for large files, and although performance was improved in #531, we
often suffered from flickering.
@zonuexe zonuexe force-pushed the fix/apply-propertize-at-first-time branch from 8c9d10e to a0a14e7 Compare September 11, 2024 18:40
@zonuexe zonuexe merged commit 84e6828 into master Sep 11, 2024
12 of 13 checks passed
@zonuexe zonuexe deleted the fix/apply-propertize-at-first-time branch September 11, 2024 18:55
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

Successfully merging this pull request may close these issues.

Highlight of first heredoc with quotes broken depending on how many characters exists before it
1 participant