summaryrefslogtreecommitdiff
path: root/src/testdir/test_balloon.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-24 00:58:07 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-24 00:58:07 +0200
commite7eb92708ec2092a2fc11e78703b5dcf83844412 (patch)
treed00da20838b81404557c7b0ef17d2890f18175ac /src/testdir/test_balloon.vim
parent0a1f56fcfe31be929e9cd8c3d81a984c960e4180 (diff)
downloadvim-git-e7eb92708ec2092a2fc11e78703b5dcf83844412.tar.gz
patch 8.1.1585: :let-heredoc does not trim enoughv8.1.1585
Problem: :let-heredoc does not trim enough. Solution: Trim indent from the contents based on the indent of the first line. Use let-heredoc in more tests.
Diffstat (limited to 'src/testdir/test_balloon.vim')
-rw-r--r--src/testdir/test_balloon.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_balloon.vim b/src/testdir/test_balloon.vim
index 793eb3a57..b3c680e11 100644
--- a/src/testdir/test_balloon.vim
+++ b/src/testdir/test_balloon.vim
@@ -13,7 +13,7 @@ if !CanRunVimInTerminal()
throw 'Skipped: cannot make screendumps'
endif
-let s:common_script =<< [CODE]
+let s:common_script =<< trim [CODE]
call setline(1, ["one one one", "two tXo two", "three three three"])
set balloonevalterm balloonexpr=MyBalloonExpr() balloondelay=100
func MyBalloonExpr()