helm should always be fuzzy by default

This commit is contained in:
Bailey Ling 2016-02-08 14:39:50 -05:00 committed by syl20bnr
parent b7eda6f014
commit 204b6af424

View file

@ -58,14 +58,14 @@
(add-hook 'helm-minibuffer-set-up-hook 'helm-hide-minibuffer-maybe)
;; fuzzy matching setting
(setq helm-M-x-fuzzy-match t
helm-apropos-fuzzy-match t
helm-file-cache-fuzzy-match t
helm-imenu-fuzzy-match t
helm-lisp-fuzzy-completion t
helm-recentf-fuzzy-match t
helm-semantic-fuzzy-match t
helm-buffers-fuzzy-matching t)
(with-eval-after-load 'helm-source
(defun spacemacs//helm-make-source (f &rest args)
(let ((source-type (cadr args))
(props (cddr args)))
(unless (eq source-type 'helm-source-async)
(plist-put props :fuzzy-match t)))
(apply f args))
(advice-add 'helm-make-source :around #'spacemacs//helm-make-source))
;; Use helm to provide :ls, unless ibuffer is used
(unless (configuration-layer/package-usedp 'ibuffer)