ThePrimeagen / harpoon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harpoon quick menu hidden if hlsearch = true

CyberMuz opened this issue · comments

Hi,
I noticed an issue when using the Harpoon2 with catppuccin colorscheme if hlsearch is set to on.

I have C-e mapped to toggle quickmenu as suggested in the Primeagen tutorials. When I open Neovim I'm able to open the Harpoon menu normally:
image

But if I search for something (in the example "keymap") and then try open harpoon, the window with list of files doesn't show. Only background color changes from black to the blueish color (this is the background color that is set when Harpoon menu is activated). When I press any button (like up or down arrow) the Harpoon menu appears, and all is normal.

image

After pressing any key on keyboard menu is visible:
image

If I set hlsearch to off then all works normally.

In this examples I'm using catppuccin-frappe, but the issue is present on other catppuccin-* scheme.
I reproduced this on urxvt and xfce4-terminal.

Same problem here. Able to reproduce.
After searching (with hlsearch = true) the Harpoon menu is not visible unless hitting another key.

  • Neovim version: 0.10.2
  • Terminal: kitty
  • Colorscheme: catppuccin-mocha
  • OS: NixOS

Switching to no colorscheme or to gruvbox did not resolve the issue, so it probably has nothing to do with the colorscheme.

Edit: Used Harpoon 2.

@CyberMuz maybe update the issue name by removing the colorscheme reference? It is pretty non-descriptive right now.

Suggested new name: "Harpoon quick menu hidden if hlsearch = true"