Permalink
Browse files

More robust fix for error ‘fuzzy-match’ not supported in async sources

Fixes #8094
  • Loading branch information...
1 parent d51f619 commit 9d180c72d667f718dd1fb1b18f00d010566a72bb @syl20bnr committed Jan 2, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 layers/+spacemacs/spacemacs-completion/funcs.el
@@ -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))

0 comments on commit 9d180c7

Please sign in to comment.