Skip to content

Commit

Permalink
Fix helm :config: ‘fuzzy-match’ not supported in async sources.
Browse files Browse the repository at this point in the history
Fixes #8091
  • Loading branch information
syl20bnr committed Jan 2, 2017
1 parent 664ba6a commit c3c5b8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layers/+spacemacs/spacemacs-completion/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"Function to be used as advice to activate fuzzy matching for all sources."
(let ((source-type (cadr args))
(props (cddr args)))
(unless (eq source-type 'helm-source-async)
(unless (memq source-type '(helm-source-async
helm-locate-source))
(plist-put props :fuzzy-match (eq 'always dotspacemacs-helm-use-fuzzy))))
(apply f args))

Expand Down

0 comments on commit c3c5b8e

Please sign in to comment.