From b83a640109869e3a15c62e85e90e23104ea5a724 Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Tue, 7 Jun 2022 20:42:58 -0400 Subject: [PATCH] Add gopls language server --- lua/lsp.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/lsp.lua b/lua/lsp.lua index 06e2d98..0a2101f 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -24,6 +24,11 @@ lspconfig.rust_analyzer.setup{ } } +lspconfig.gopls.setup { + on_attach = on_attach, + capabilities=capabilities, +} + -- clangd lspconfig.clangd.setup{ on_attach = on_attach,