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

Modify syntax-entry $ to "_" from "'" #565

Merged
merged 1 commit into from
Aug 24, 2019
Merged

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Aug 24, 2019

In practice, $ is just part of the variable name, which is more advantageous than considering it as “Expression prefixes”.

If you want to be compatible with older syntax tables, add the following code to your own .emacs file (init.el):

(with-eval-after-load "php-mode"
  (modify-syntax-entry ?$  "'"   php-mode-syntax-table))

Past discussions are in the following issues:

In practice, $ is just part of the variable name, which is more
advantageous than considering it as “Expression prefixes”.

If you want to be compatible with older syntax tables, add the
following code to your own .emacs file (init.el):

    (with-eval-after-load "php-mode"
      (modify-syntax-entry ?$  "'"   php-mode-syntax-table))

Past discussions are in the following issues:
#320
#564
@zonuexe zonuexe merged commit bfc5b7d into master Aug 24, 2019
@zonuexe zonuexe deleted the modify-syntax-entry-dollar branch August 24, 2019 04:38
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.

1 participant