Skip to content

Commit

Permalink
More robust fix for error ‘fuzzy-match’ not supported in async sources
Browse files Browse the repository at this point in the history
Fixes #8094
  • Loading branch information
syl20bnr committed Jan 2, 2017
1 parent d51f619 commit 9d180c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layers/+spacemacs/spacemacs-completion/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"Function to be used as advice to activate fuzzy matching for all sources."
(let ((source-type (cadr args))
(props (cddr args)))
(unless (memq source-type '(helm-source-async
helm-locate-source))
;; fuzzy matching is not supported in async sources
(unless (child-of-class-p source-type helm-source-async)
(plist-put props :fuzzy-match (eq 'always dotspacemacs-helm-use-fuzzy))))
(apply f args))

Expand Down

0 comments on commit 9d180c7

Please sign in to comment.