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 })