Use "fork" to open new gvim when testing.

This commit is contained in:
Israel Chauca Fuentes
2010-06-16 01:51:53 -05:00
parent aae61ad8ba
commit 0e20bcaff8

View File

@@ -2,6 +2,9 @@ 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
elseif g:delimitMate_testing == "fork"
!gvim -N -u NONE -U NONE -c "set backspace=eol,start" -c "let delimitMate_testing = 1" -c "so autoload/delimitMate.vim" -c "so autoload/delimitMateTests.vim" -c "so plugin/delimitMate.vim" -c "call delimitMateTests\#Main()"
return ""
endif endif
nmap <F1> :qall!<CR> nmap <F1> :qall!<CR>
let nomore = &more let nomore = &more