diff --git a/lazyvim.json b/lazyvim.json index 35d2214..30f83f2 100644 --- a/lazyvim.json +++ b/lazyvim.json @@ -3,7 +3,6 @@ "lazyvim.plugins.extras.editor.harpoon2", "lazyvim.plugins.extras.lang.nix", "lazyvim.plugins.extras.lang.rust", - "lazyvim.plugins.extras.lang.svelte", "lazyvim.plugins.extras.lang.toml" ], "news": { diff --git a/lua/plugins/svelte.lua b/lua/plugins/svelte.lua new file mode 100644 index 0000000..87d5621 --- /dev/null +++ b/lua/plugins/svelte.lua @@ -0,0 +1,16 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = { ensure_installed = { "svelte" } }, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + svelte = { + cmd = { "svelteserver", "--stdio" }, + }, + }, + }, + }, +}