aboutsummaryrefslogtreecommitdiff
path: root/plugin/haredoc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/haredoc.vim')
-rw-r--r--plugin/haredoc.vim9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim
index e103181..219e770 100644
--- a/plugin/haredoc.vim
+++ b/plugin/haredoc.vim
@@ -40,7 +40,11 @@ function Haredoc(symbol)
\ 'sh', '-c',
\ "haredoc -Ftty '"..symbol.."' | less -RKX",
\ ],
- \ #{hidden: 1, term_finish: 'close'},
+ \ #{
+ \ term_name: '[haredoc] '..symbol,
+ \ hidden: 1,
+ \ term_finish: 'close',
+ \ },
\ )
call setbufvar(buf, "&bufhidden", 'wipe')
let minheight = 1 + system(
@@ -63,6 +67,9 @@ function Haredoc(symbol)
\ 'sh', '-c',
\ "haredoc -Ftty '"..symbol.."' | less -RKX",
\ ],
+ \ #{
+ \ term_name: '[haredoc] '..symbol,
+ \ },
\ )
set nonumber filetype=hare bufhidden=wipe
nnoremap <buffer> q :close<CR>