We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in php-mode-autoloads.el I've tried to make emacs to be able to regonize .phtml files. But it doesn't with this config:
(autoload 'php-mode "php-mode" " Major mode for editing PHP code.
\{php-mode-map}
(fn)" t nil)
(add-to-list 'auto-mode-alist '("\.\(?:php[s345]?\|phtml\)\'" . php-mode))
(add-to-list 'auto-mode-alist '("/\.php_cs\(?:\.dist\)?\'" . php-mode-maybe))
In the original version, phtml is bound to the -maybe mode, so I switch the lines but have no luck.
The text was updated successfully, but these errors were encountered:
@frameworker74 Sorry for the lack of our explanation.
The easy way is to just set a custom variable.
(custom-set-variables '(php-html-template-major-mode 'php-mode))
If you do not want to integrate with any template language, you can do this.
(setq php-template-mode-alist nil)
Sorry, something went wrong.
No branches or pull requests
in php-mode-autoloads.el I've tried to make emacs to be able to regonize .phtml files. But it doesn't with this config:
(autoload 'php-mode "php-mode" "
Major mode for editing PHP code.
\{php-mode-map}
(fn)" t nil)
(add-to-list 'auto-mode-alist '("\.\(?:php[s345]?\|phtml\)\'" . php-mode))
(add-to-list 'auto-mode-alist '("/\.php_cs\(?:\.dist\)?\'" . php-mode-maybe))
In the original version, phtml is bound to the -maybe mode, so I switch the lines but have no luck.
The text was updated successfully, but these errors were encountered: