mirror of
https://github.com/Raimondi/delimitMate.git
synced 2026-08-14 20:01:02 +08:00
Use 'nomore'.
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
function! delimitMateTests#Main() " {{{
|
function! delimitMateTests#Main()
|
||||||
if !exists("g:delimitMate_testing")
|
if !exists("g:delimitMate_testing")
|
||||||
echoerr "delimitMateTests#Main(): If you really want to use me, you must set delimitMate_testing to any value."
|
echoerr "delimitMateTests#Main(): If you really want to use me, you must set delimitMate_testing to any value."
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
nmap <F1> :qall!<CR>
|
nmap <F1> :qall!<CR>
|
||||||
|
let nomore = &more
|
||||||
|
set nomore
|
||||||
let b:test_results = {}
|
let b:test_results = {}
|
||||||
let b:errors = 0
|
let b:errors = 0
|
||||||
let b:corrects = 0
|
let b:corrects = 0
|
||||||
@@ -45,6 +47,7 @@ function! delimitMateTests#Main() " {{{
|
|||||||
normal gg.
|
normal gg.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
exec "normal \<Esc>"
|
||||||
call setpos('.', [0, 1, 1, 0])
|
call setpos('.', [0, 1, 1, 0])
|
||||||
let result = len(a:output) != line('$')
|
let result = len(a:output) != line('$')
|
||||||
for line in a:output
|
for line in a:output
|
||||||
@@ -267,6 +270,8 @@ function! delimitMateTests#Main() " {{{
|
|||||||
hi def link resultSummary SpecialComment
|
hi def link resultSummary SpecialComment
|
||||||
hi def link resultSummaryNumber Error
|
hi def link resultSummaryNumber Error
|
||||||
" }}}
|
" }}}
|
||||||
endfunction " }}}
|
|
||||||
|
let &more = nomore
|
||||||
|
endfunction
|
||||||
" vim:foldmethod=marker:foldcolumn=4
|
" vim:foldmethod=marker:foldcolumn=4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user