feat: enabled ts-plugin support for astro and svelte

This commit is contained in:
Folke Lemaitre 2024-06-05 11:09:12 +02:00
parent e32d1918ae
commit d64d761539
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 5 additions and 11 deletions

View file

@ -39,11 +39,7 @@ return {
LazyVim.extend(opts.servers.vtsls, "settings.vtsls.tsserver.globalPlugins", {
{
name = "@astrojs/ts-plugin",
location = LazyVim.get_pkg_path(
"astro-language-server",
"/node_modules/@astrojs/ts-plugin",
{ warn = false }
),
location = LazyVim.get_pkg_path("astro-language-server", "/node_modules/@astrojs/ts-plugin"),
enableForWorkspaceTypeScriptVersions = true,
},
})