add config-dir variable and change load-path to use it
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
;; in an ivy action minibuffer use M-o `ivy-dispatching-done' to see
|
||||
;; valid actions.
|
||||
(use-package ivy
|
||||
:load-path "lisp/ivy"
|
||||
:load-path (lambda() (concat config-dir "lisp/ivy"))
|
||||
:delight (ivy-mode "Ⓘ") ;; Ⓘ i
|
||||
:defer 0.1
|
||||
;; Ivy-based interface to standard commands
|
||||
@@ -108,7 +108,7 @@
|
||||
;;(setq tab-always-indent 'complete) ;; use 'complete when auto-complete is disabled
|
||||
|
||||
(use-package company
|
||||
:load-path "lisp/company"
|
||||
:load-path (lambda() (concat config-dir "lisp/company"))
|
||||
:delight (company-mode "Ⓒ") ;; Ⓒ c
|
||||
;;:bind (("C-M-i" . company-complete))
|
||||
:bind (([remap completion-at-point] . company-complete)
|
||||
@@ -212,7 +212,7 @@ Possible PACKAGE values are `company'."
|
||||
'(yas-popup-isearch-prompt yas-maybe-ido-prompt yas-completing-prompt yas-no-prompt)))
|
||||
|
||||
(use-package yasnippet-snippets
|
||||
:load-path "lisp/yasnippet-snippets"
|
||||
:load-path (lambda() (concat config-dir "lisp/yasnippet-snippets"))
|
||||
:after (yasnippet)
|
||||
:defer 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user