mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:27:34 +00:00
Use rls instead of rust_analyzer
This commit is contained in:
parent
02d7c26c98
commit
3fdacaf932
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user