nvim: after/ftplugin/rust: Update makeprg
`--all` is deprecated and is just an alias to `--workspace`.
This commit is contained in:
parent
deb5f2b7d4
commit
cfe57543c6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ local ra_config = lsp_utils.ra_config()
|
||||||
vim.lsp.start(ra_config)
|
vim.lsp.start(ra_config)
|
||||||
|
|
||||||
vim.cmd.compiler('cargo')
|
vim.cmd.compiler('cargo')
|
||||||
vim.bo.makeprg = 'cargo build --all'
|
vim.bo.makeprg = 'cargo build --workspace'
|
||||||
|
|
||||||
vim.keymap.set('n', 'cbb', ":Dispatch! cargo build<CR>" , { noremap=true, buffer=0 })
|
vim.keymap.set('n', 'cbb', ":Dispatch! cargo build<CR>" , { noremap=true, buffer=0 })
|
||||||
vim.keymap.set('n', 'cbc', ":Dispatch! cargo clean<CR>" , { noremap=true, buffer=0 })
|
vim.keymap.set('n', 'cbc', ":Dispatch! cargo clean<CR>" , { noremap=true, buffer=0 })
|
||||||
|
|
Loading…
Reference in a new issue