Mercurial > vim
view src/testdir/test47.in @ 2090:53d475dff0e3 v7.2.374
updated for version 7.2.374
Problem: Ruby eval() doesn't understand Vim types.
Solution: Add the vim_to_ruby() function. (George Gensure)
author | Bram Moolenaar <bram@zimbu.org> |
---|---|
date | Wed, 24 Feb 2010 15:48:04 +0100 |
parents | b63792dadc23 |
children | ce5a380d5144 |
line wrap: on
line source
Tests for vertical splits and filler lines in diff mode STARTTEST :so small.vim /^1 yG:new pkdd:w! Xtest ddGpkkrXoxxx:w! Xtest2 :file Nop ggoyyyjjjozzzz :vert diffsplit Xtest :vert diffsplit Xtest2 :" jump to second window for a moment to have filler line appear at start of :" first window ggpgg:let one = winline() j:let one = one . "-" . winline() j:let one = one . "-" . winline() j:let one = one . "-" . winline() j:let one = one . "-" . winline() j:let one = one . "-" . winline() gg:let two = winline() j:let two = two . "-" . winline() j:let two = two . "-" . winline() j:let two = two . "-" . winline() j:let two = two . "-" . winline() gg:let three = winline() j:let three = three . "-" . winline() j:let three = three . "-" . winline() j:let three = three . "-" . winline() j:let three = three . "-" . winline() j:let three = three . "-" . winline() j:let three = three . "-" . winline() :call append("$", one) :call append("$", two) :call append("$", three) :$-2,$w! test.out :unlet one two three :qa! ENDTEST 1 aa 2 bb 3 cc 4 dd 5 ee