diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index d91a8e5..ccba2fe 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -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