php mode and phpactor
This commit is contained in:
parent
800e8338ba
commit
f3853e5254
1 changed files with 13 additions and 0 deletions
13
init.el
13
init.el
|
|
@ -48,6 +48,19 @@
|
|||
:init
|
||||
(vertico-mode))
|
||||
|
||||
(use-package
|
||||
php-mode
|
||||
:init (setq phpactor-executable (executable-find "phpactor"))
|
||||
:hook ((php-mode . eglot-ensure)
|
||||
(php-mode . (lambda ()
|
||||
(setq-local phpactor-executable
|
||||
(executable-find "phpactor")))))
|
||||
:mode ("\\.php\\'"))
|
||||
|
||||
(use-package phpactor
|
||||
:after php-mode)
|
||||
|
||||
|
||||
(use-package smartparens
|
||||
:config (require 'smartparens-config)
|
||||
:init (smartparens-global-mode))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue