aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorTeddy Wing2020-07-19 03:03:57 +0200
committerTeddy Wing2020-07-19 03:03:57 +0200
commit738ef503527ee279160debca2fb503ae6ecaaf11 (patch)
tree6b3ef20bf42b5ef21b4b88dd309d0c673243ea42 /ftplugin
parent4273f1bdc99948d681d36e162115cf6f52d43f76 (diff)
downloaddotvim-738ef503527ee279160debca2fb503ae6ecaaf11.tar.bz2
ftplugin/rust.vim: Add a command to run `cargo check`
Faster than using `cargo build` for a feedback cycle.
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/rust.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim
index 08601f6..e7267eb 100644
--- a/ftplugin/rust.vim
+++ b/ftplugin/rust.vim
@@ -22,3 +22,4 @@ let b:argwrap_tail_comma = 1
nnoremap <buffer>Zr :!cargo run<CR>
nnoremap <buffer>Zb :!cargo build<CR>
+nnoremap <buffer>Zc :!cargo check<CR>