mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 20:54:31 +08:00
Use "fork" to open new gvim when testing.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user