enc: add default config for rust

This commit is contained in:
asep.komarudin 2024-06-22 08:20:55 +07:00
parent 01af4a3a1d
commit ebe7697c5e
4 changed files with 136 additions and 5 deletions

View file

@ -28,4 +28,8 @@ _G.all_trim = function(s)
return s:match("^%s*(.-)%s*$")
end
if pcode.acive_rust_config then
table.insert(pcode.mason_ensure_installed, "rust_analyzer")
table.insert(pcode.unregister_lsp, "rust_analyzer")
end
return {}