From 1bfa90621b96412d6e4e34dd1a4b7698bf3debb4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 23 Feb 2023 22:41:03 -0500 Subject: [PATCH] tweak(helm): use emacs completion instead This may fix +fuzzy, as well. Ref: #6676 Co-authored-by: johanwiden --- modules/completion/helm/config.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index ea939d1ac..6db4e52b0 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -90,8 +90,12 @@ Can be negative.") ;; However, do not add helm completion styles to the front of ;; `completion-styles', since that would be overly intrusive. E.g., it ;; results in `company-capf' returning far to many completion candidates. - ;; Instead, append those styles so that they act as a fallback. + ;; Instead, append those styles so that they act as a fallback. Variable + ;; completion-styles is ignored unless helm-completion-style is customized + ;; to 'emacs. + (setq helm-completion-style 'emacs) (add-to-list 'completion-styles (if fuzzy 'flex 'helm) t)) + :config (set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)