aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-06 20:45:17 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-07 11:48:55 -0500
commit7d8f32338f4bbb4b2addeacc17aceca9f73fe644 (patch)
treed6f622ea97782a4894a2f62e1eb2d12c20129aeb /src/nvim/testdir
parent30ed245d008045a505a87ab21d22ada45dd1f4b5 (diff)
downloadrneovim-7d8f32338f4bbb4b2addeacc17aceca9f73fe644.tar.gz
rneovim-7d8f32338f4bbb4b2addeacc17aceca9f73fe644.tar.bz2
rneovim-7d8f32338f4bbb4b2addeacc17aceca9f73fe644.zip
vim-patch:8.1.2402: typos and other small things
Problem: Typos and other small things. Solution: Small fixes. https://github.com/vim/vim/commit/f48ee3c28488f7c361732316f905ac420b3d8087
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/shared.vim3
-rw-r--r--src/nvim/testdir/test49.vim2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/testdir/shared.vim b/src/nvim/testdir/shared.vim
index b0b59db686..3875ffc056 100644
--- a/src/nvim/testdir/shared.vim
+++ b/src/nvim/testdir/shared.vim
@@ -314,6 +314,9 @@ func RunVimPiped(before, after, arguments, pipecmd)
let args .= ' -S Xafter.vim'
endif
+ " Optionally run Vim under valgrind
+ " let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 --log-file=valgrind ' . cmd
+
exe "silent !" . a:pipecmd . cmd . args . ' ' . a:arguments
if len(a:before) > 0
diff --git a/src/nvim/testdir/test49.vim b/src/nvim/testdir/test49.vim
index 837e55ebca..fc79f57d2e 100644
--- a/src/nvim/testdir/test49.vim
+++ b/src/nvim/testdir/test49.vim
@@ -178,7 +178,7 @@ endif
" next Xpath value. No new Xnext value is prepared. The argument
" should be 2^(n-1) for the nth Xloop command inside the loop.
" If the loop has only one Xloop command, the argument can be
-" ommitted (default: 1).
+" omitted (default: 1).
"
" - Use XloopNEXT before ":continue" and ":endwhile". This computes a new
" Xnext value for the next execution of the loop by multiplying the old