From 489a6fe1fd72a4882b58d0269a7420a7a8f75def Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sat, 12 Feb 2022 18:51:15 -0800 Subject: [PATCH] add rust analyzer --- nvim/plugin-confs/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/plugin-confs/lspconfig.lua b/nvim/plugin-confs/lspconfig.lua index f635d00..d2c5a5c 100644 --- a/nvim/plugin-confs/lspconfig.lua +++ b/nvim/plugin-confs/lspconfig.lua @@ -176,7 +176,7 @@ end) -- Use a loop to conveniently call 'setup' on multiple servers and -- map buffer local keybindings when the language server attaches -local servers = { 'pyright', 'bashls', 'sqls', 'vimls', 'yamlls', 'dockerls', 'html', 'sumneko_lua', 'jsonls', 'dotls' } +local servers = { 'pyright', 'bashls', 'sqls', 'vimls', 'yamlls', 'dockerls', 'html', 'sumneko_lua', 'jsonls', 'dotls', 'rust_analyzer' } for _, lsp in pairs(servers) do require('lspconfig')[lsp].setup { on_attach = on_attach,