-
-
Notifications
You must be signed in to change notification settings - Fork 223
Description
Describe the bug
As soon as I add the typescript-svelte-plugin to my tsconfig.json the zero-effort typesafety features take effect as expected, but basic LSP features stop working for example, autocompletion does not suggest anything inside the $lib/ folder anymore. Remove the plugin from tsconfig.json obviously removes the zero-effort typesafety and then autocomplete suggestions for $lib/ exports also starts to work again as expected.
I also added the path aliases and includes manually to my tsconfig.json this results in import statements for $lib working, but autocomplete is still not working properly.
For those that want both, I switched to coc-svelte there both work out of the box (Typescript language features and Svelte language features with zero-effort type safety
Reproduction
add the typescript-svelte-plugin to your tsconfig.json with for example a LazyVim setup, create a +server.ts and some export in lib/ and try to auto-import it from autocompletion.
Expected behaviour
That typescript LSP features still work after adding typescript-svelte-plugin to tsconfig.json
System Info
- OS: [macOS 14.2.1]
- IDE: [NeoVim v0.10.0-dev-2055+gbeca82721-Homebrew
Build type: Release
LuaJIT 2.1.1703358377]
Which package is the issue about?
No response
Additional Information, eg. Screenshots
No response