helm-bibtex icon indicating copy to clipboard operation
helm-bibtex copied to clipboard

Adding faces for matched item

Open failable opened this issue 8 years ago • 3 comments

Adding faces seems more friendly and help locating the item like 'helm-match' or 'helm-match-item'.

failable avatar Jan 11 '16 04:01 failable

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.

tmalsburg avatar Jan 11 '16 23:01 tmalsburg

Thanks ! But doesn't word here too.

I think faces are useful since it help recognising the items when using fuzzy matching.

failable avatar Jan 12 '16 00:01 failable

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?

tmalsburg avatar Jan 12 '16 01:01 tmalsburg