tweak(helm): use emacs completion instead
This may fix +fuzzy, as well. Ref: #6676 Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
This commit is contained in:
parent
8789e2e5c6
commit
1bfa90621b
1 changed files with 5 additions and 1 deletions
|
@ -90,8 +90,12 @@ Can be negative.")
|
||||||
;; However, do not add helm completion styles to the front of
|
;; However, do not add helm completion styles to the front of
|
||||||
;; `completion-styles', since that would be overly intrusive. E.g., it
|
;; `completion-styles', since that would be overly intrusive. E.g., it
|
||||||
;; results in `company-capf' returning far to many completion candidates.
|
;; 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))
|
(add-to-list 'completion-styles (if fuzzy 'flex 'helm) t))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)
|
(set-popup-rule! "^\\*helm" :vslot -100 :size 0.22 :ttl nil)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue