aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/prr-ui/ftplugin
diff options
context:
space:
mode:
authorTeddy Wing2023-11-29 00:51:09 +0100
committerTeddy Wing2023-11-30 00:05:23 +0100
commit6f595300351b659daf7f74d45feddc678b643ea7 (patch)
tree39d4a541b03e6b1820878cc485112a32ed6876c6 /bundle/prr-ui/ftplugin
parent2531bcbffc998d95de95e6ddc9f725c8714dd19b (diff)
downloaddotvim-6f595300351b659daf7f74d45feddc678b643ea7.tar.bz2
prr-ui: Educate quotes in prr buffers
Diffstat (limited to 'bundle/prr-ui/ftplugin')
-rw-r--r--bundle/prr-ui/ftplugin/prr/prr_ui.vim7
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