23tux
23tux

Reputation: 14746

Vim Ack search highlight

I'm using MacVim with the ack Plugin (https://github.com/mileszs/ack.vim). I've updated my Plugins and Vim itself, and now when I search for something, the highlight color of the search bar is in turquoise (see screenshot), and you can't really read the text.

I've already read through ack help and some threads, but I couldn't find a option where I can adjust the color.

How can I change it back to the old color?enter image description here

Upvotes: 2

Views: 469

Answers (1)

user852573
user852573

Reputation: 1750

I'm not sure this is the cause of your issue, but Vim added a new highlighting group in patch 8.0.0641, which is called QuickFixLine.

The default colors which were chosen seemed to make the current entry in the quickfix window difficult to read with several colorschemes. An issue was opened on the bug tracker of the Vim repository, and the highlighting group was linked to Search in patch 8.0.0653.

So, if your Vim version is between 8.0.0641 and 8.0.0652, you may need to update Vim again to a newer version.

If you can't update immediately, then maybe you could temporarily link QuickFixLine to Search:

:hi! link QuickFixLine Search

Upvotes: 5

Related Questions