Skip to content

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

Merged
zonuexe merged 1 commit intomasterfrom
fix/apply-propertize-at-first-time
Sep 11, 2024
Merged

Just call syntax-ppss-flush-cache instead of an explicit property.#786
zonuexe merged 1 commit intomasterfrom
fix/apply-propertize-at-first-time

Conversation

@zonuexe
Copy link
Copy Markdown
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.
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