diff options
author | Teddy Wing | 2023-12-05 22:35:27 +0100 |
---|---|---|
committer | Teddy Wing | 2023-12-06 00:51:47 +0100 |
commit | 0a2e1a11da108edb13d057feb4ccdfdf20a9fe80 (patch) | |
tree | 89d4756404e97abb28ded22b639e91d7d2644027 /bundle/prr-ui | |
parent | d93f08b22d8db84787f8ed20fd9240542b608a63 (diff) | |
download | dotvim-0a2e1a11da108edb13d057feb4ccdfdf20a9fe80.tar.bz2 |
prr-ui: Idea for a command to comment on a line from the code
Diffstat (limited to 'bundle/prr-ui')
-rw-r--r-- | bundle/prr-ui/autoload/prr_ui.vim | 5 | ||||
-rw-r--r-- | bundle/prr-ui/plugin/prr_ui.vim | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bundle/prr-ui/autoload/prr_ui.vim b/bundle/prr-ui/autoload/prr_ui.vim index a60e5ce..8e35a50 100644 --- a/bundle/prr-ui/autoload/prr_ui.vim +++ b/bundle/prr-ui/autoload/prr_ui.vim @@ -860,3 +860,8 @@ function! prr_ui#RandomEmoji() let l:index = rand() % s:emoji_list_length return s:emoji[l:index] endfunction + + +" Comment on the current line. +function! prr_ui#Comment() +endfunction diff --git a/bundle/prr-ui/plugin/prr_ui.vim b/bundle/prr-ui/plugin/prr_ui.vim index 1aaf457..892a774 100644 --- a/bundle/prr-ui/plugin/prr_ui.vim +++ b/bundle/prr-ui/plugin/prr_ui.vim @@ -5,3 +5,4 @@ let g:loaded_prr_ui = 1 command! PrrStart execute 'vsplit ' . system('prr-start --print') command! PrrSubmit update | !prr-submit +command! PrrComment call prr_ui#Comment() |