Compare commits
2 commits
ecf9bb731e
...
cfe57543c6
Author | SHA1 | Date | |
---|---|---|---|
cfe57543c6 | |||
deb5f2b7d4 |
2 changed files with 3 additions and 1 deletions
|
@ -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<CR>" , { noremap=true, buffer=0 })
|
||||
vim.keymap.set('n', 'cbc', ":Dispatch! cargo clean<CR>" , { noremap=true, buffer=0 })
|
||||
|
|
|
@ -3,6 +3,8 @@ local zls_config = lsp_utils.zls_config()
|
|||
|
||||
vim.lsp.start(zls_config)
|
||||
|
||||
vim.cmd.compiler('zig_build')
|
||||
|
||||
vim.api.nvim_create_autocmd({ "BufReadPre", "BufWinEnter" }, {
|
||||
pattern = { "*/lib/zig/*" },
|
||||
callback = function()
|
||||
|
|
Loading…
Reference in a new issue