From 1a56fdcfa2d7d2c81c2d91cfa0a49c81f8be71f9 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Sun, 18 Aug 2024 18:30:41 +0700 Subject: [PATCH] svelte: disabled from lazyvim --- lazyvim.json | 1 - lua/plugins/svelte.lua | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 lua/plugins/svelte.lua 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" }, + }, + }, + }, + }, +}