helm-bibtex
helm-bibtex copied to clipboard
Adding faces for matched item
Adding faces seems more friendly and help locating the item like 'helm-match' or 'helm-match-item'.
I intentionally disabled highlighting because I find it distracting:
(defvar helm-source-fallback-options
'((name . "Fallback options")
(match (lambda (_candidate) t))
(candidates . helm-bibtex-fallback-candidates)
(no-matchplugin)
(nohighlight)
(action . helm-bibtex-fallback-action))
"Source for online look-up.")
You should be able to re-enable it using this code:
(setq helm-source-fallback-options
'((name . "Fallback options")
(match (lambda (_candidate) t))
(candidates . helm-bibtex-fallback-candidates)
(no-matchplugin)
(action . helm-bibtex-fallback-action)))
This doesn’t work in my setup but I think that’s due to an unrelated problem. Let me know if it works.
Thanks ! But doesn't word here too.
I think faces are useful since it help recognising the items when using fuzzy matching.
Hm, not sure what is going on. I also noticed that some of my other helm sources either show or not show highlighting and I can't find out why. Perhaps, you want to ask on the helm mailing list?