telescope-egrepify.nvim icon indicating copy to clipboard operation
telescope-egrepify.nvim copied to clipboard

Empty buffer is opened when search in current buffer

Open damanis opened this issue 10 months ago • 0 comments

Description

Open empty buffer instead of jump to line in current opened buffer.

Neovim version

NVIM v0.11.0-dev-1649+gc47496791a
Build type: RelWithDebInfo
LuaJIT 2.1.1736781742
Run "nvim -V1 -v" for more info

Operating system and version

Ubuntu 20.04

Steps to reproduce

  • Run lua require "telescope".extensions.egrepify.egrepify {search_dirs = { vim.fn.expand "%:p" }, searches_dirs = true} to open egrepify window to search in current buffer only.
  • Enter something, select match result and press <Enter>.

Expected behavior

Jump to the line in current (opened) buffer after pressing <Enter> on some result.

Actual behavior

New empty buffer is opened (with name same as current buffer).

Minimal config

All default: enable the plugin in Lazy and enable extension in Telescope.

damanis avatar Jan 28 '25 06:01 damanis