auto-completion: make helm-company use proper spacemacs idioms
This commit is contained in:
parent
eb4bc581c2
commit
bba3a782cb
|
@ -157,13 +157,14 @@
|
|||
(spacemacs/set-leader-keys "is" 'spacemacs/helm-yas)
|
||||
(setq helm-c-yas-space-match-any-greedy t))))
|
||||
|
||||
(defun auto-completion/init-helm-company ()
|
||||
(use-package helm-company
|
||||
:if (configuration-layer/package-used-p 'company)
|
||||
:defer t
|
||||
:init
|
||||
(with-eval-after-load 'company
|
||||
(defun auto-completion/pre-init-helm-company ()
|
||||
(spacemacs|use-package-add-hook company
|
||||
:post-config
|
||||
(use-package helm-company
|
||||
:defer t
|
||||
:init
|
||||
(define-key company-active-map (kbd "C-/") 'helm-company))))
|
||||
(defun auto-completion/init-helm-company ())
|
||||
|
||||
(defun auto-completion/init-hippie-exp ()
|
||||
;; replace dabbrev-expand
|
||||
|
|
Loading…
Reference in New Issue