Move lsp! to local-vars hooks
- Set lsp-java-server-install-dir - Use lsp! instead of lsp in lang/cc
This commit is contained in:
parent
9c15bb82f9
commit
7c9e9a3446
4 changed files with 5 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
(set-formatter! 'php-mode #'php-cs-fixer-fix)
|
||||
|
||||
(if (featurep! +lsp)
|
||||
(add-hook 'php-mode-hook #'lsp!)
|
||||
(add-hook 'php-mode-local-vars-hook #'lsp!)
|
||||
;; `+php-company-backend' uses `company-phpactor', `php-extras-company' or
|
||||
;; `company-dabbrev-code', in that order.
|
||||
(set-company-backend! 'php-mode '+php-company-backend 'company-dabbrev-code))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue