Skip to content

Commit

Permalink
fix: Force capf to 'anything
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed May 19, 2024
1 parent 6fad73b commit ae4dbb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion company-fuzzy.el
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@ For instance, if there is a candidate function `buffer-file-name' and with
current prefix `bfn'. It will just return `bfn' because the current prefix
does best describe the for this candidate."
(cl-case backend
((company-capf) (company-fuzzy--valid-prefix backend))
((company-capf) (or (company-fuzzy--valid-prefix backend)
'anything))
(`company-c-headers
(when-let ((prefix (ht-get company-fuzzy--prefixes backend)))
;; Skip the first < or " symbol
Expand Down

0 comments on commit ae4dbb0

Please sign in to comment.