From abc7fbc54a29fab3488600f56ef1908943c53a19 Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Thu, 5 Dec 2024 19:34:30 -0300 Subject: [PATCH] feat: add eslint, html, css and json lsp's --- lua/dot013/plugins/lsp.lua | 4 ++++ neovim.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/lua/dot013/plugins/lsp.lua b/lua/dot013/plugins/lsp.lua index d57eb5f..e067be3 100644 --- a/lua/dot013/plugins/lsp.lua +++ b/lua/dot013/plugins/lsp.lua @@ -1,4 +1,6 @@ local lsps = { + ["cssls"] = {}, + ["eslint"] = {}, ["denols"] = {}, ["lua_ls"] = { on_init = function(client) @@ -29,7 +31,9 @@ local lsps = { }, }, ["gopls"] = {}, + ["html"] = {}, ["htmx"] = {}, + ["jsonls"] = {}, ["nil_ls"] = {}, ["tailwindcss"] = {}, ["templ"] = {}, diff --git a/neovim.nix b/neovim.nix index 18d096f..b23836a 100644 --- a/neovim.nix +++ b/neovim.nix @@ -43,6 +43,7 @@ templ typescript-language-server rust-analyzer + vscode-langservers-extracted ]; foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];