lang/php: use internal phpctags only
Other versions of phpctags may cause errors.
This commit is contained in:
parent
63cc8b4306
commit
56fcad4970
1 changed files with 1 additions and 9 deletions
|
@ -73,15 +73,7 @@
|
||||||
:init
|
:init
|
||||||
(add-to-list '+php--company-backends 'company-ac-php-backend nil #'eq)
|
(add-to-list '+php--company-backends 'company-ac-php-backend nil #'eq)
|
||||||
(add-hook 'php-mode-hook #'+php|init-ac-php-core-eldoc)
|
(add-hook 'php-mode-hook #'+php|init-ac-php-core-eldoc)
|
||||||
(setq ac-php-tags-path (concat doom-cache-dir "ac-php/"))
|
(setq ac-php-tags-path (concat doom-cache-dir "ac-php/")))
|
||||||
;; loaded by `company-php'
|
|
||||||
(after! ac-php-core
|
|
||||||
(when (equal ac-php-ctags-executable
|
|
||||||
(concat ac-php-root-directory "phpctags"))
|
|
||||||
;; prioritize phpctags in PATH
|
|
||||||
(setq ac-php-ctags-executable
|
|
||||||
(or (executable-find "phpctags")
|
|
||||||
ac-php-ctags-executable)))))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue