diff options
author | Teddy Wing | 2023-11-29 21:47:47 +0100 |
---|---|---|
committer | Teddy Wing | 2023-11-30 00:05:23 +0100 |
commit | 0782a9709eab7b4930547f0e4095030b33f9e28c (patch) | |
tree | 85cb789c7ad105be90c8bcd9ed7a57c6c7b78e88 /bundle/prr-ui/plugin/prr_ui.vim | |
parent | 55a482ccc2756d0c79aa4790dc061f6f5d61fccb (diff) | |
download | dotvim-0782a9709eab7b4930547f0e4095030b33f9e28c.tar.bz2 |
prr-ui: Ensure file is saved before `PrrSubmit`
Guard against accidentally submitting a stale unsaved code review.
Diffstat (limited to 'bundle/prr-ui/plugin/prr_ui.vim')
-rw-r--r-- | bundle/prr-ui/plugin/prr_ui.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/prr-ui/plugin/prr_ui.vim b/bundle/prr-ui/plugin/prr_ui.vim index 615d06f..1aaf457 100644 --- a/bundle/prr-ui/plugin/prr_ui.vim +++ b/bundle/prr-ui/plugin/prr_ui.vim @@ -4,4 +4,4 @@ endif let g:loaded_prr_ui = 1 command! PrrStart execute 'vsplit ' . system('prr-start --print') -command! PrrSubmit !prr-submit +command! PrrSubmit update | !prr-submit |