aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-05 09:28:13 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-05 09:28:44 +0530
commit7c3ef11e2ed4e8cdefe1cb80fd4837e1eb037d6c (patch)
treecbe6d3c0adfed35fc00ac36623251300be572264 /lua/plugins
parent1bc4074843eeba4b30d6ee2ed877afd74e1fc44e (diff)
lsp/svelte: init
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/opts/lspconfig.lua4
-rw-r--r--lua/plugins/opts/treesitter.lua14
2 files changed, 17 insertions, 1 deletions
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 },