add config-dir variable and change load-path to use it
This commit is contained in:
@@ -18,23 +18,23 @@
|
||||
(setq css-indent-offset 2))
|
||||
|
||||
(use-package js2-mode
|
||||
:load-path "lisp/js2-mode"
|
||||
:load-path (lambda() (concat config-dir "lisp/js2-mode"))
|
||||
:commands js2-mode)
|
||||
|
||||
(use-package php-mode
|
||||
:load-path "lisp/php-mode"
|
||||
:load-path (lambda() (concat config-dir "lisp/php-mode"))
|
||||
:commands php-mode)
|
||||
|
||||
(use-package web-mode
|
||||
:commands (web-mode))
|
||||
|
||||
(use-package web-completion-data
|
||||
:load-path "lisp/web-completion-data"
|
||||
:load-path (lambda() (concat config-dir "lisp/web-completion-data"))
|
||||
:defer t)
|
||||
|
||||
(use-package company-web-html
|
||||
:after (web-mode company)
|
||||
:load-path "lisp/company-web"
|
||||
:load-path (lambda() (concat config-dir "lisp/company-web"))
|
||||
:bind (([remap complete-symbol] . company-complete)) ;; M-C-i and <M-tab>
|
||||
:config
|
||||
;;(add-to-list 'company-backends 'company-web-html)
|
||||
|
||||
Reference in New Issue
Block a user