Use rls instead of rust_analyzer

This commit is contained in:
ViViDboarder 2021-12-07 13:21:03 -08:00
parent 02d7c26c98
commit 3fdacaf932

View File

@ -74,7 +74,8 @@ local function config_lsp()
"gopls",
-- "pylsp",
"pyright",
"rust_analyzer",
-- "rust_analyzer",
"rls",
}
local lsp_config = require("lspconfig")
@ -94,6 +95,11 @@ local function config_lsp()
configurationSources = {"black"},
formatCommand = {"black"},
},
rust={
build_on_save = false,
all_features = true,
unstable_features = true,
},
},
}
end