From 89db59769d3f3fd6ead0edd451f7bdeb7398dba2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 12 Dec 2020 15:09:35 -0500 Subject: [PATCH] Re-enable ivy in evil-ex completion Seems its earlier issues are no longer a problem. --- modules/completion/ivy/config.el | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/completion/ivy/config.el b/modules/completion/ivy/config.el index e9a09aee0..7cf440e41 100644 --- a/modules/completion/ivy/config.el +++ b/modules/completion/ivy/config.el @@ -95,13 +95,6 @@ results buffer.") (after! yasnippet (add-hook 'yas-prompt-functions #'+ivy-yas-prompt-fn)) - (defadvice! +ivy--inhibit-completion-in-region-a (orig-fn &rest args) - "`ivy-completion-in-region' struggles with completing certain -evil-ex-specific constructs, so we disable it solely in evil-ex." - :around #'evil-ex - (let ((completion-in-region-function #'completion--in-region)) - (apply orig-fn args))) - (define-key! ivy-minibuffer-map [remap doom/delete-backward-word] #'ivy-backward-kill-word "C-c C-e" #'+ivy/woccur