AstroNvim / AstroNvim

AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
https://AstroNvim.com
GNU General Public License v3.0
12.55k stars 918 forks source link

The 'A' char is inserted to search filed when invoking LSP References #2152

Closed osenvosem closed 1 year ago

osenvosem commented 1 year ago

Checklist

Operating system/version

macOS 12.6

Terminal/GUI

kitty

AstroNvim Health

AstroNvim
AstroNvim Version: v3.33.4
Neovim Version: v0.9.1
OK Using stable Neovim >= 0.8.0
OK git is installed: Used for core functionality such as updater and plugin management
OK open is installed: Used for gx mapping for opening files with system opener (Optional)
OK lazygit is installed: Used for mappings to pull up git TUI (Optional)
OK node is installed: Used for mappings to pull up node REPL (Optional)
OK gdu is installed: Used for mappings to pull up disk usage analyzer (Optional)
OK btm is installed: Used for mappings to pull up system monitor (Optional)
OK python is installed: Used for mappings to pull up python REPL (Optional)

Describe the bug

After SPC l R is pressed the character 'A' is inserted in the search filed.

Steps to Reproduce

  1. Open .ts file with enum
  2. Open LSP References on a enum variant. Sometimes the bug appears after a couple of times of invoking.

Expected behavior

Empty search field.

Screenshots

Screenshot 2023-07-21 at 16 54 29

Additional Context

No response

mehalter commented 1 year ago

This is not functionality that we implement, so if this is a bug then this would be a bug in Telescope's LSP reference function. If you want to report this I would recommend creating a minimal neovim configuration without AstroNvim and recreating the bug. Just to give you a heads up, I have tried with my own personal AstroNvim configuration and a stock installation of AstroNvim and I cannot recreate this in any way. Sorry I'm not much help here!

osenvosem commented 1 year ago

Used this functionality in LunarVim, had no issues.