Browse Source

[lsp] bow to rust-analyzer

master
blallo 3 months ago
parent
commit
c57aa56c98
Signed by: blallo GPG Key ID: 0CBE577C9B72DC3F
  1. 2
      lua/config/lspconfig.lua

2
lua/config/lspconfig.lua

@ -31,7 +31,7 @@ local on_attach = function(client, bufrn)
end
-- Launch language servers
local servers = { 'pylsp', 'gopls', 'rls', 'tsserver', 'elixirls', 'dartls', 'denols', 'clangd' }
local servers = { 'pylsp', 'gopls', 'rust_analyzer', 'tsserver', 'elixirls', 'dartls', 'denols', 'clangd' }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,

Loading…
Cancel
Save