Mercurial > vim
view src/testdir/test89.in @ 4240:d52c45b35fb0 v7.3.871
updated for version 7.3.871
Problem: search('^$', 'c') does not use the empty match under the cursor.
Solution: Special handling of the 'c' flag. (Christian Brabandt)
Add tests.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 15:27:48 +0100 |
parents | 6fe728bf165e |
children | 9f642ac84df9 |
line wrap: on
line source
Some tests for setting 'number' and 'relativenumber' STARTTEST :so small.vim :set hidden nocp nu rnu :redir @a | set nu? rnu? | redir END :e! xx :redir @b | set nu? rnu? | redir END :e! # :$put ='results:' :$put a :$put b :" :set nonu nornu :setglobal nu :setlocal rnu :redir @c | setglobal nu? | redir END :set nonu nornu :setglobal rnu :setlocal nu :redir @d | setglobal rnu? | redir END :$put =':setlocal must NOT reset the other global value' :$put c :$put d :" :set nonu nornu :setglobal nu :setglobal rnu :redir @e | setglobal nu? | redir END :set nonu nornu :setglobal rnu :setglobal nu :redir @f | setglobal rnu? | redir END :$put =':setglobal MUST reset the other global value' :$put e :$put f :" :set nonu nornu :set nu :set rnu :redir @g | setglobal nu? | redir END :set nonu nornu :set rnu :set nu :redir @h | setglobal rnu? | redir END :$put =':set MUST reset the other global value' :$put g :$put h :" :/^results/,$w! test.out :q! ENDTEST