Move define-docset! calls to modules
This commit is contained in:
parent
b220872cc6
commit
b2a3ab90b3
10 changed files with 20 additions and 15 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue