nvim: fix rust-analyzer
This commit is contained in:
parent
19069aba44
commit
76f7c6695a
2 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
|||
local lspconfig = require('lspconfig')
|
||||
|
||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||
local servers = { 'clangd', 'glsl_analyzer', 'rust_analyzer', 'tinymist', 'vhdl_ls', 'vtsls' }
|
||||
local servers = { 'clangd', 'glsl_analyzer', 'tinymist', 'rust_analyzer', 'vhdl_ls', 'vtsls' }
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
-- on_attach = my_custom_on_attach,
|
||||
|
|
|
@ -80,6 +80,7 @@ in
|
|||
"p7zip"
|
||||
"pinentry"
|
||||
"rust-analyzer"
|
||||
"rustup"
|
||||
"tinymist"
|
||||
"unzip"
|
||||
"vhdl-ls"
|
||||
|
|
Loading…
Reference in a new issue