Remove evil-collection-helm hack (it's disabled)
This commit is contained in:
parent
dc2dad0af3
commit
553867bf61
1 changed files with 1 additions and 13 deletions
|
@ -25,19 +25,7 @@ variable for an explanation of the defaults (in comments). See
|
||||||
;; must be set before evil/evil-collection is loaded
|
;; must be set before evil/evil-collection is loaded
|
||||||
(setq evil-want-integration nil
|
(setq evil-want-integration nil
|
||||||
evil-collection-company-use-tng nil)
|
evil-collection-company-use-tng nil)
|
||||||
:config
|
;; :config
|
||||||
;; Until evil-collection#101 is resolved
|
|
||||||
(defun +evil*fix-evil-collection-fix-helm-bs ()
|
|
||||||
"Prevents `with-helm-buffer' void-function errors when loading helm."
|
|
||||||
(when (with-current-buffer (helm-buffer-get) helm-echo-input-in-header-line)
|
|
||||||
(let ((ov (make-overlay (point-min) (point-max) nil nil t)))
|
|
||||||
(overlay-put ov 'window (selected-window))
|
|
||||||
(overlay-put ov 'face (let ((bg-color (face-background 'default nil)))
|
|
||||||
`(:background ,bg-color :foreground ,bg-color)))
|
|
||||||
(setq-local cursor-type nil))))
|
|
||||||
(advice-add #'evil-collection-helm-hide-minibuffer-maybe :override
|
|
||||||
#'+evil*fix-evil-collection-fix-helm-bs)
|
|
||||||
|
|
||||||
(dolist (sym +evil-collection-disabled-list)
|
(dolist (sym +evil-collection-disabled-list)
|
||||||
(setq evil-collection-mode-list
|
(setq evil-collection-mode-list
|
||||||
(funcall (if (symbolp sym) #'delq #'delete)
|
(funcall (if (symbolp sym) #'delq #'delete)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue