ziontee113 / neo-minimap

Plugin for Neovim that lets you create your own "minimap" from Treesitter Queries or Vim Regex.
MIT License
132 stars 5 forks source link

Unhighlight search when close minimap #21

Open damanis opened 1 year ago

damanis commented 1 year ago

Feature request. After search in neo-minimap window (with /), the found item is highlighted. It left highlighted after it selected and minimap closed. Please add option (or hard-coded) to hide the highlight. Something like this:

    vim.keymap.set("n", "<CR>", function()
        jump_and_zz(line_data, opts)
+       vim.cmd([[nohlsearch]], false)
        vim.api.nvim_win_close(win, true)
ziontee113 commented 1 year ago

Hi @damanis , this feature is implemented at eba4b2e39ce3af584b646dfb7246031a37db880c, please update your plugin to receive the change.