From cfe57543c692ae683bb2da43f4cb7b02c5d30c84 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sun, 17 Nov 2024 14:34:55 +0530 Subject: [PATCH] nvim: after/ftplugin/rust: Update makeprg `--all` is deprecated and is just an alias to `--workspace`. --- nvim/.config/nvim/after/ftplugin/rust.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/after/ftplugin/rust.lua b/nvim/.config/nvim/after/ftplugin/rust.lua index 60e6846..68b2c89 100644 --- a/nvim/.config/nvim/after/ftplugin/rust.lua +++ b/nvim/.config/nvim/after/ftplugin/rust.lua @@ -4,7 +4,7 @@ local ra_config = lsp_utils.ra_config() vim.lsp.start(ra_config) vim.cmd.compiler('cargo') -vim.bo.makeprg = 'cargo build --all' +vim.bo.makeprg = 'cargo build --workspace' vim.keymap.set('n', 'cbb', ":Dispatch! cargo build" , { noremap=true, buffer=0 }) vim.keymap.set('n', 'cbc', ":Dispatch! cargo clean" , { noremap=true, buffer=0 })