junegunn/vim-slash

Search has extra cursor block in neovim

dlee opened this issue · 1 comments

dlee commented

I'm guessing it's the same issue as junegunn/vim-oblique#51

I cannot reproduce this issue. I am using the following lazy.nvim plugin:

-- search
return {
  'junegunn/vim-slash',
  config = function()
    if vim.fn.has 'timers' == 1 then
      vim.keymap.set('', '<Plug>(slash-after)', function()
        return 'zz' .. vim.fn['slash#blink'](2, 50)
      end, { expr = true, noremap = true, silent = true })
    else
      vim.keymap.set('', '<Plug>(slash-after)', 'zz', { noremap = true, silent = true })
    end
  end,
}

nvim --version outputs the following:

NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1720049189