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

Replace propertize mechanism #669

Merged
merged 4 commits into from
May 12, 2021
Merged

Replace propertize mechanism #669

merged 4 commits into from
May 12, 2021

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented May 12, 2021

This change slightly improves syntax propertization. Maybe it does not have much effect on huge string interpolation.

refs #657

How to customize propertize rules

(with-eval-after-load 'php-mode
  (setq-default php-syntax-propertize-rules my-php-propertize-rules)
  (defalias 'php-syntax-propertize-function (php-build-propertize-function)))

@zonuexe zonuexe force-pushed the replace-propertize-mechanism branch from fc1d26c to df1e864 Compare May 12, 2021 17:01
@zonuexe zonuexe merged commit fb314f2 into master May 12, 2021
@zonuexe zonuexe deleted the replace-propertize-mechanism branch May 12, 2021 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant