aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-php.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/init-php.el b/lisp/init-php.el
index 9874a28..7933bf6 100644
--- a/lisp/init-php.el
+++ b/lisp/init-php.el
@@ -1,6 +1,6 @@
-(use-package ac-php)
+(use-package php-mode)
-(use-package php-mode
+(use-package ac-php
:config
(add-hook 'mmm-mode-hook
'(lambda ()
@@ -10,7 +10,9 @@
(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
+ (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)