mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-06 15:13:33 -05:00
fix(php): void-variable +php--company-backends
Removed in9e5e4cf
, but was accidentally revived ind545fcc
. Amend:d545fccf47
Ref:9e5e4cf78b
This commit is contained in:
@@ -45,13 +45,7 @@
|
||||
(sp-local-pair "<?" "?>" :post-handlers '(("| " "SPC" "=") ("||\n[i]" "RET") ("[d2]" "p")))
|
||||
(sp-local-pair "<?php" "?>" :post-handlers '(("| " "SPC") ("||\n[i]" "RET"))))
|
||||
|
||||
(if (modulep! -lsp)
|
||||
;; `+php-company-backend' uses `php-extras-company' or
|
||||
;; `company-dabbrev-code', in that order.
|
||||
(when +php--company-backends
|
||||
(set-company-backend! mode
|
||||
(cons :separate +php--company-backends)
|
||||
'company-dabbrev-code))
|
||||
(when (modulep! +lsp)
|
||||
(when (executable-find "php-language-server.php")
|
||||
(setq lsp-clients-php-server-command "php-language-server.php"))
|
||||
(add-hook mode-vars-hook #'lsp! 'append))
|
||||
|
Reference in New Issue
Block a user