aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Torres <b@torresjrjr.com>2023-05-24 21:03:27 +0100
committerByron Torres <b@torresjrjr.com>2023-05-24 21:03:27 +0100
commit72d59092d7d5f31e754f9e4db3ebb772b32a1a88 (patch)
treeeca248c4b7803ccd133909b28a30aeda45ea89e6
parentset '[haredoc] {symbol}' as buffer name (diff)
downloadvim-haredoc-72d59092d7d5f31e754f9e4db3ebb772b32a1a88.tar.gz
add title to popup
TODO: New screenshot for README.
-rw-r--r--plugin/haredoc.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/haredoc.vim b/plugin/haredoc.vim
index 219e770..e65b389 100644
--- a/plugin/haredoc.vim
+++ b/plugin/haredoc.vim
@@ -53,6 +53,7 @@ function Haredoc(symbol)
let winid = popup_atcursor(
\ buf,
\ #{
+ \ title: "[haredoc] "..symbol,
\ col: 'cursor-'..virtcol('.'),
\ minwidth: 84,
\ minheight: minheight,