configuracion para rust_analyzer

This commit is contained in:
serxoz 2024-04-17 17:59:17 +02:00
parent 1524521e51
commit 437d96a605

View File

@ -22,6 +22,24 @@ lsp.configure('lua-language-server', {
} }
}) })
lsp.configure('rust_analyzer', {
settings = {
["rust-analyzer"] = {
diagnostics = {
enable = true
},
checkOnSave = {
enable = true
},
procMacro = {
enable = true
},
cargo = {
allFeatures = true
}
}
}
})
local cmp = require('cmp') local cmp = require('cmp')
local cmp_select = {behavior = cmp.SelectBehavior.Select} local cmp_select = {behavior = cmp.SelectBehavior.Select}