pmizio / typescript-tools.nvim

⚡ TypeScript integration NeoVim deserves ⚡
MIT License
1.45k stars 40 forks source link

Bug: Opening Telescopes lsp_references adds 'A' to input #265

Closed Lewenhaupt closed 4 months ago

Lewenhaupt commented 4 months ago

Whenever I have typescript-tools loaded and do gr (calls Telescope's builtin lsp_references) an A gets added to the input field of Telescope. Remove typescript-tools and then it works as expected. This is what it looks like: swappy-20240513_203230

Lewenhaupt commented 4 months ago

Could possibly be because tsserver is also installed via Mason. Will check and close of that's the case.

Lewenhaupt commented 4 months ago

This was caused because of tsserver also being installed by mason

1orZero commented 2 months ago

Just encountered this issue. I'm so glad I found the solution here. Thank you!

1orZero commented 2 months ago

This issue has resurfaced. Have you encountered this situation again? @Lewenhaupt image

Lewenhaupt commented 2 months ago

This issue has resurfaced. Have you encountered this situation again? @Lewenhaupt image

Nope, for me it was resolved.

1orZero commented 2 months ago

I just have figured this out. I am using the Lazyvim distribution and the vtsls LSP

To avoid interruptions in the LSP References by vtsls, I have disabled it in the nvim lsp config.

And everything works as expected.

image