lang/php: use internal phpctags only

Other versions of phpctags may cause errors.
This commit is contained in:
Henrik Lissner 2018-08-09 00:40:26 +02:00
parent 63cc8b4306
commit 56fcad4970
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)))))
;; ;;