File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -515,11 +515,19 @@ This turns a string of the form \\='function<type<T>>\\=' into
515515 (cl-destructuring-bind
516516 (&key name section path demangled &allow-other-keys) data
517517 (concat
518- (if (and demangled bdx--demangle-names)
519- (if bdx--show-templates
520- demangled
521- (bdx--untemplatize-string demangled))
522- name)
518+ (let ((line
519+ (if (and demangled bdx--demangle-names)
520+ (if bdx--show-templates
521+ demangled
522+ (bdx--untemplatize-string demangled))
523+ name)))
524+ (dolist (word (string-split ivy-text))
525+ (when (ignore-errors
526+ (let ((case-fold-search t ))
527+ (string-match word line)))
528+ (add-face-text-property (match-beginning 0 ) (match-end 0 )
529+ 'ivy-minibuffer-match-face-2 nil line)))
530+ line)
523531 " "
524532 (and bdx--show-sections
525533 (propertize (concat " [" section " ]" )
You can’t perform that action at this time.
0 commit comments