aboutsummaryrefslogtreecommitdiffstats
path: root/bundle
diff options
context:
space:
mode:
authorTeddy Wing2023-11-25 20:50:49 +0100
committerTeddy Wing2023-11-27 23:56:32 +0100
commit9d12a790a6c29ea6e90acb88a969c1e372d937ac (patch)
tree795224f4ce92c05514fcba7c8a6c173f33ecabe5 /bundle
parent548dd23ce35eb2f072288b8caaf9ec62168e09c4 (diff)
downloaddotvim-9d12a790a6c29ea6e90acb88a969c1e372d937ac.tar.bz2
Add 'prr-ui' plugin
Make a plugin to facilitate Prr code reviews from within Vim.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/prr-ui/plugin/prr_ui.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundle/prr-ui/plugin/prr_ui.vim b/bundle/prr-ui/plugin/prr_ui.vim
new file mode 100644
index 0000000..615d06f
--- /dev/null
+++ b/bundle/prr-ui/plugin/prr_ui.vim
@@ -0,0 +1,7 @@
+if exists('g:loaded_prr_ui')
+ finish
+endif
+let g:loaded_prr_ui = 1
+
+command! PrrStart execute 'vsplit ' . system('prr-start --print')
+command! PrrSubmit !prr-submit