Reorder config and php-doc-block shortcut now works only on php-mode.
This commit is contained in:
parent
87c61ac6e9
commit
97c7ea774b
@ -12,14 +12,13 @@
|
||||
|
||||
(use-package php-mode
|
||||
:defer t
|
||||
:bind ("C-c d b" . php-doc-block)
|
||||
:config
|
||||
(add-hook 'php-mode-hook #'(lambda()
|
||||
(php-enable-default-coding-style)
|
||||
(company-mode t) ; habilita company mode
|
||||
(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
|
||||
(add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company
|
||||
))
|
||||
;; :bind ("C-c d b" . php-doc-block)
|
||||
:hook (php-mode . (lambda ()
|
||||
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
||||
(company-mode t) ; habilita company mode
|
||||
(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
|
||||
(add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company
|
||||
))
|
||||
)
|
||||
|
||||
(use-package php-doc-block
|
||||
|
Loading…
Reference in New Issue
Block a user