typescript-tools.nvim icon indicating copy to clipboard operation
typescript-tools.nvim copied to clipboard

Prefer local auto-imports over those from external modules

Open lampda opened this issue 3 months ago • 0 comments

is there a way to tell the lsp to prefer my local files when importing instead of lib ones?

for example i have my Input component but another lib i installed also has an Input component, and when doing the add missing imports commands it imports the one from the lib instead of mine.

thank you:D

here is a gif of the current behaviour, i couldn't upload it to github for some reason

https://i.imgur.com/sSdkizn.gif

lampda avatar Nov 22 '25 01:11 lampda