From 6bb3fa958f775c9ff5769e2cb00ccaabe664fd99 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 5 Dec 2021 19:08:59 +0100 Subject: Added rust_analyzer lsp --- config/nvim/lua/plugins.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index 8786fe0..dca67fb 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -28,11 +28,12 @@ return require('packer').startup(function() lspconfig.clangd.setup { on_attach = on_attach } -- need python-lsp-server and pyls-flake8 lspconfig.pylsp.setup { on_attach = on_attach } + -- rust_analyzer + lspconfig.rust_analyzer.setup { on_attach = on_attach } vim.diagnostic.config { signs = false, update_in_insert = false, } - -- lspconfig.rust_analyser.setup {} end, } -- cgit