diff options
author | Teddy Wing | 2023-11-29 00:51:09 +0100 |
---|---|---|
committer | Teddy Wing | 2023-11-30 00:05:23 +0100 |
commit | 6f595300351b659daf7f74d45feddc678b643ea7 (patch) | |
tree | 39d4a541b03e6b1820878cc485112a32ed6876c6 | |
parent | 2531bcbffc998d95de95e6ddc9f725c8714dd19b (diff) | |
download | dotvim-6f595300351b659daf7f74d45feddc678b643ea7.tar.bz2 |
prr-ui: Educate quotes in prr buffers
-rw-r--r-- | bundle/prr-ui/ftplugin/prr/prr_ui.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundle/prr-ui/ftplugin/prr/prr_ui.vim b/bundle/prr-ui/ftplugin/prr/prr_ui.vim index 06bef42..488cb51 100644 --- a/bundle/prr-ui/ftplugin/prr/prr_ui.vim +++ b/bundle/prr-ui/ftplugin/prr/prr_ui.vim @@ -6,3 +6,10 @@ command! -buffer PrrReject normal! ggO<CR><CR>@prr reject<CR><Esc>gg let b:undo_ftplugin .= '| delcommand -buffer PrrApprove' let b:undo_ftplugin .= '| delcommand -buffer PrrReject' + +" Educate quotes. +if !exists('b:textobj_quote_educate_mapped') +\ || b:textobj_quote_educate_mapped == 0 + Educate + let b:undo_ftplugin .= '| NoEducate' +endif |