mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Move define-docset! calls to modules
This commit is contained in:
@ -3,13 +3,15 @@
|
||||
(use-package php-mode
|
||||
:mode "\\.\\(php\\|inc\\)$"
|
||||
:init
|
||||
(define-docset! php-mode "php,laravel")
|
||||
(define-company-backend! php-mode '(php-extras-company))
|
||||
|
||||
(add-hook! php-mode 'flycheck-mode)
|
||||
(setq php-template-compatibility nil
|
||||
php-extras-eldoc-functions-file (concat narf-temp-dir "php-extras-eldoc-functions"))
|
||||
:config
|
||||
(require 'php-extras)
|
||||
(defun php-extras-company-setup ()) ;; company will set up itself
|
||||
(define-company-backend! php-mode '(php-extras-company))
|
||||
|
||||
(unless (file-exists-p (concat php-extras-eldoc-functions-file ".el"))
|
||||
(async-start `(lambda ()
|
||||
|
Reference in New Issue
Block a user