mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:37:33 +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",
|
"gopls",
|
||||||
-- "pylsp",
|
-- "pylsp",
|
||||||
"pyright",
|
"pyright",
|
||||||
"rust_analyzer",
|
-- "rust_analyzer",
|
||||||
|
"rls",
|
||||||
}
|
}
|
||||||
local lsp_config = require("lspconfig")
|
local lsp_config = require("lspconfig")
|
||||||
|
|
||||||
@ -94,6 +95,11 @@ local function config_lsp()
|
|||||||
configurationSources = {"black"},
|
configurationSources = {"black"},
|
||||||
formatCommand = {"black"},
|
formatCommand = {"black"},
|
||||||
},
|
},
|
||||||
|
rust={
|
||||||
|
build_on_save = false,
|
||||||
|
all_features = true,
|
||||||
|
unstable_features = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user