nvim: fix rust-analyzer

This commit is contained in:
stitchy 2024-12-18 08:27:16 +00:00
parent 19069aba44
commit 76f7c6695a
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -80,6 +80,7 @@ in
"p7zip"
"pinentry"
"rust-analyzer"
"rustup"
"tinymist"
"unzip"
"vhdl-ls"