diff options
author | Jesús <heckyel@hyperbola.info> | 2018-11-12 10:59:45 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-11-12 10:59:45 -0500 |
commit | 60be10712742af355dec9cd6a93764a49a227af6 (patch) | |
tree | 1940433691f34abf929f26727042fda7a607a451 /lisp/init-php.el | |
parent | 9bcab5d2625e9e14344bb4dfee74a668ec68055c (diff) | |
download | emacs-personal-60be10712742af355dec9cd6a93764a49a227af6.tar.lz emacs-personal-60be10712742af355dec9cd6a93764a49a227af6.tar.xz emacs-personal-60be10712742af355dec9cd6a93764a49a227af6.zip |
Remove mmm-mode, php-mode :: only web-mode
Working in PHP languages with HTML is a daily task.
In the first instance I tried to combine its syntax with multi-web-mode but it consumed a lot of resources.
In the second instance I made the language reader using mmm-mode, reading php-mode in web mode.
However this has not been enough because the color problems between modes produce bugs.
Now only the web-mode for PHP works, and I have managed to activate PHP flycheck for web-mode.
Diffstat (limited to 'lisp/init-php.el')
-rw-r--r-- | lisp/init-php.el | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lisp/init-php.el b/lisp/init-php.el deleted file mode 100644 index 7933bf6..0000000 --- a/lisp/init-php.el +++ /dev/null @@ -1,18 +0,0 @@ -(use-package php-mode) - -(use-package ac-php - :config - (add-hook 'mmm-mode-hook - '(lambda () - (auto-complete-mode t) - (require 'ac-php) - (setq ac-sources '(ac-source-php )) - (setq ac-sources '(ac-source-dictionary ac-source-abbrev ac-source-php )) - - (ac-php-core-eldoc-setup ) ;; enable eldoc - (define-key php-mode-map (kbd "C-]") 'ac-php-find-symbol-at-point) ;; goto define - (define-key php-mode-map (kbd "C-t") 'ac-php-location-stack-back))) ;; go back - -) - -(provide 'init-php) |