bind M-. to find symbol in php mode
This commit is contained in:
parent
8de0ef34dd
commit
943d7e0f70
3
init.el
3
init.el
@ -752,7 +752,8 @@ inserted between the braces between the braces."
|
||||
(defun my-php-mode-hook-fn()
|
||||
(when (require 'company-php nil t)
|
||||
(set (make-local-variable 'company-backends) '(company-ac-php-backend))
|
||||
(company-mode t)))
|
||||
(company-mode t)
|
||||
(local-set-key (kbd "M-.") #'ac-php-find-symbol-at-point)))
|
||||
|
||||
(add-hook 'php-mode-hook #'my-php-mode-hook-fn)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user