Skip to content

Commit 9d180c7

Browse files
committed
More robust fix for error ‘fuzzy-match’ not supported in async sources
Fixes #8094
1 parent d51f619 commit 9d180c7

File tree

1 file changed

+2
-2
lines changed
  • layers/+spacemacs/spacemacs-completion

1 file changed

+2
-2
lines changed

layers/+spacemacs/spacemacs-completion/funcs.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"Function to be used as advice to activate fuzzy matching for all sources."
4040
(let ((source-type (cadr args))
4141
(props (cddr args)))
42-
(unless (memq source-type '(helm-source-async
43-
helm-locate-source))
42+
;; fuzzy matching is not supported in async sources
43+
(unless (child-of-class-p source-type helm-source-async)
4444
(plist-put props :fuzzy-match (eq 'always dotspacemacs-helm-use-fuzzy))))
4545
(apply f args))
4646

0 commit comments

Comments
 (0)