mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
php-mode: prevent company autoconfig
This commit is contained in:
@ -6,9 +6,9 @@
|
|||||||
(add-hook! php-mode 'flycheck-mode)
|
(add-hook! php-mode 'flycheck-mode)
|
||||||
(setq php-template-compatibility nil
|
(setq php-template-compatibility nil
|
||||||
php-extras-eldoc-functions-file (concat narf-temp-dir "php-extras-eldoc-functions"))
|
php-extras-eldoc-functions-file (concat narf-temp-dir "php-extras-eldoc-functions"))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(require 'php-extras)
|
(require 'php-extras)
|
||||||
|
(defun php-extras-company-setup ()) ;; company will set up itself
|
||||||
(define-company-backend! php-mode '(php-extras-company))
|
(define-company-backend! php-mode '(php-extras-company))
|
||||||
|
|
||||||
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
|
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
|
||||||
|
Reference in New Issue
Block a user