From 7fd66876b91d49a55b40d80f557ff4021522c1bb Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 6 Apr 2024 14:43:26 +0100 Subject: [PATCH] Add rust_analyzer --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index dfc915e..ec1c4f8 100644 --- a/init.lua +++ b/init.lua @@ -4,12 +4,14 @@ vim.opt.number = true vim.opt.numberwidth = 8 local lspconfig = require('lspconfig') + lspconfig.clangd.setup {} lspconfig.cmake.setup {} lspconfig.gopls.setup {} lspconfig.ltex.setup {} lspconfig.omnisharp.setup {} lspconfig.rls.setup {} +lspconfig.rust_analyzer.setup {} vim.keymap.set('n', 'e', vim.diagnostic.open_float) vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)