Closed nyngwang closed 2 years ago
This behavior is fundamentally controlled by typescript-language-server
, so I can't say for sure. You can see here what we are doing to resolve imports. I'm not sure what nvim-cmp is doing, but it should be pretty similar, so I'm surprised there's a difference in behavior.
Many thanks for your help with the confirmation! OK, but since I'm relatively new to language-server so I don't know what to do now... I'm trying to use one plugin to resolve this problem.
Closing this issue as it's more of a question and not something we can act on.
As title. I currently using
nvim-cmp
and I found that the auto-import on confirm doesn't detect files under the same folder.