From 7c3ef11e2ed4e8cdefe1cb80fd4837e1eb037d6c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 5 Mar 2024 09:28:13 +0530 Subject: lsp/svelte: init --- lua/plugins/opts/lspconfig.lua | 4 ++++ lua/plugins/opts/treesitter.lua | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins/opts/lspconfig.lua b/lua/plugins/opts/lspconfig.lua index 0a00fa7..583cac1 100644 --- a/lua/plugins/opts/lspconfig.lua +++ b/lua/plugins/opts/lspconfig.lua @@ -33,3 +33,7 @@ lspconfig.ccls.setup({ lspconfig.bashls.setup({}) lspconfig.nil_ls.setup({}) lspconfig.pyright.setup({}) + +lspconfig.tsserver.setup({}) +lspconfig.svelte.setup({}) +lspconfig.tailwindcss.setup({}) diff --git a/lua/plugins/opts/treesitter.lua b/lua/plugins/opts/treesitter.lua index fbc2a71..ebcdf62 100644 --- a/lua/plugins/opts/treesitter.lua +++ b/lua/plugins/opts/treesitter.lua @@ -1,5 +1,17 @@ return { - ensure_installed = { "lua", "c", "bash", "nix", "python", "markdown" }, + ensure_installed = { + "lua", + "c", + "bash", + "nix", + "python", + "markdown", + "html", + "css", + "javascript", + "typescript", + "svelte", + }, sync_install = false, indent = { enable = true }, -- cgit v1.2.3