From 51800f7484d92ddc93efe843f7a7fed2451eb22f Mon Sep 17 00:00:00 2001 From: "Gustavo L de Mello (Guz)" Date: Thu, 5 Dec 2024 19:27:16 -0300 Subject: [PATCH] feat: add gopls and rust-analyzer lsp's --- lua/dot013/plugins/init.lua | 1 + lua/dot013/plugins/lsp.lua | 2 ++ neovim.nix | 2 ++ 3 files changed, 5 insertions(+) diff --git a/lua/dot013/plugins/init.lua b/lua/dot013/plugins/init.lua index 0276f71..d4bdea0 100644 --- a/lua/dot013/plugins/init.lua +++ b/lua/dot013/plugins/init.lua @@ -1,5 +1,6 @@ return { { import = "dot013.plugins.appearance" }, + { import = "dot013.plugins.lsp" }, { import = "dot013.plugins.navigation" }, { import = "dot013.plugins.treesitter" }, diff --git a/lua/dot013/plugins/lsp.lua b/lua/dot013/plugins/lsp.lua index db331a0..d283ff1 100644 --- a/lua/dot013/plugins/lsp.lua +++ b/lua/dot013/plugins/lsp.lua @@ -27,6 +27,8 @@ local lsps = { }, }, }, + ["gopls"] = {}, + ["rust_analyzer"] = {}, } return { diff --git a/neovim.nix b/neovim.nix index ab500e3..853670e 100644 --- a/neovim.nix +++ b/neovim.nix @@ -34,7 +34,9 @@ ]; languageServers = with pkgs; [ + gopls lua-language-server + rust-analyzer ]; foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];