Arrange autocomplete settings for mmm-mode

This commit is contained in:
Jesús 2018-11-07 09:53:14 -05:00
parent c690afa93d
commit af394040f8
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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)