From cd1689da31288108d2d7d6a2497b0a2819871dcf Mon Sep 17 00:00:00 2001 From: Markus Pettersson Date: Mon, 25 Nov 2024 19:02:53 +0100 Subject: [PATCH] Fix regression where bufnr isn't passed to `set_target_arch` introduced in #548 --- lua/rustaceanvim/lsp/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/rustaceanvim/lsp/init.lua b/lua/rustaceanvim/lsp/init.lua index d22837f5..10eda21b 100644 --- a/lua/rustaceanvim/lsp/init.lua +++ b/lua/rustaceanvim/lsp/init.lua @@ -353,7 +353,7 @@ local function rust_analyzer_cmd(opts) M.reload_settings() elseif cmd == RustAnalyzerCmd.target then local target_arch = fargs[2] - M.set_target_arch(target_arch) + M.set_target_arch(nil, target_arch) end end