Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! PrependToRTP(name)
- let &runtimepath = a:name . ',' . &rtp
- endfunction
- " Prepend tests repos to &rtp
- call PrependToRTP(expand('$HOME').'/projects/vim/plugins/runVimTests')
- call PrependToRTP(expand('$HOME').'/projects/vim/plugins/vimtap')
- " Glabal vars for commonly tested plugins
- let runVimTests_common = {}
- let runVimTests_common['vimpeg'] = expand('$HOME').'/projects/vim/plugins/vimpeg'
- " Include the plugin in which the /test/_setup.vim resides
- call PrependToRTP(expand('%:p:h:h'))
Advertisement
Add Comment
Please, Sign In to add comment