Refactor test framework into a vim plugin.

This commit is contained in:
Ben Jackson 2019-07-04 23:49:17 +01:00
commit 55c75fd08e
6 changed files with 25 additions and 12 deletions

View file

@ -1,5 +1,3 @@
source lib/shared.vim
function! SetUp()
if exists ( 'g:loaded_vimpector' )
unlet g:loaded_vimpector

View file

@ -17,8 +17,6 @@ if !has('terminal')
finish
endif
source lib/shared.vim
" Run Vim with "arguments" in a new terminal window.
" By default uses a size of 20 lines and 75 columns.
" Returns the buffer number of the terminal.

View file

@ -28,7 +28,7 @@
" When debugging a test it can be useful to add messages to v:errors:
" call add(v:errors, "this happened")
set rtp=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
set rtp=$PWD/lib,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after
if has('packages')
let &packpath = &rtp
endif

View file

@ -1,5 +1,3 @@
source lib/shared.vim
function! SetUp()
if exists ( 'g:loaded_vimpector' )
unlet g:loaded_vimpector