2

These search tools list results in the minibuffer, but the matches are not highlighting:

  • SPC s a f (ag)
  • SPC s g f (grep)
  • SPC s k f (ack)
  • SPC s t f (pt)

enter image description here

Help describe does highlight matches. Would be nice if ag/grep/ack/pt did the same.

Is there a way to highlight matches for ag/grep/ack/pt? Does your Ivy search-tool highlight matches?

Other than that, I am really enjoying how tightly the search tool is integrated into the editor.

I am using Emacs 25.2.1 with Evil Spacemacs and Ivy on Linux.

Update_1

I restarted Spacemacs with the default .spacemacs file and there is no highlighting in the search results. I guess it's a Spacemacs bug.

The following is a listing of what I did:

Renamed .spacemacs to .spacemaces_backup
Restarted emacs, and answer the questions:
    What is your preferred editing style? vim
    What distribution of spacemacs would you like to start with? spacemacs
    What type of completion framework do you want? ivy
(this generates a new .spacemacs file)

Restarted emacs, 
    SPC s k f
    ack from ... : test
"test" is in the search results, but not highlighted.
1

This is how it looks like for me: counsel-ack.png

Try to load just counsel.el with emacs -Q: you should see the same colored output. After that, you need to figure out which part of your config makes the colors disappear.

  • Thanks for the response abo-abo. I finally got around to trouble shooting this. Please refer to Update_1 in the question. – wolfv Sep 6 '17 at 16:59

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.