From 6fcbea0ff071be84777ed5d9e0e49af935fb685d Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Wed, 14 Feb 2024 22:01:42 +0530 Subject: [PATCH] enable bashls and rust_analyzer --- after/plugin/lsp.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 3dfa7fa..5ea7752 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -14,6 +14,10 @@ local lsp_capabilities = vim.tbl_deep_extend( local lspconfig = require("lspconfig") +lspconfig.bashls.setup({ + capabilities = lsp_capabilities, +}) + lspconfig.gopls.setup({ capabilities = lsp_capabilities, }) @@ -50,6 +54,10 @@ lspconfig.nil_ls.setup({ capabilities = lsp_capabilities, }) +lspconfig.rust_analyzer.setup({ + capabilities = lsp_capabilities, +}) + vim.keymap.set("n", "", vim.diagnostic.goto_prev) vim.keymap.set("n", "", vim.diagnostic.goto_next)