File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -173,14 +173,15 @@ this or other vim plugins
173173 the ` vim ` docstring (instead of manually updating the .txt file). See the
174174 misc/build_doc for more on how this is done.
175175* Use [ vader] ( https://github.com/junegunn/vader.vim ) for unittesting. Use
176- ` test/run-tests.sh ` to run them. For this to run you have to first git clone
177- vim-repeat and vim-vader in the root of this repo:
176+ ` test/run-tests.sh ` to run them:
178177
179- ``` sh
180- git clone https://github.com/junegunn/vader.vim.git
181- git clone https://github.com/tpope/vim-repeat.git
182178 ```
179+ vim -Nu test/vimrc
180+ :set rtp+=vader.vim/plugin
181+ :set rtp+=vim-repeat/autoload
183182
183+ :Vader test/*
184+ ```
184185## TODO
185186
186187- [ ] Method to delete all the debugging strings in current buffer / all "touched" buffers - see far.vim
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- # file taken directly from https://github.com/junegunn/vader.vim
3-
4- set -e
5-
62
73oldpwd=$PWD
84cd $( dirname $( readlink -f $0 ) ) /..
5+
6+ # make sure dependencies are set up
97test -d vader.vim || git clone https://github.com/junegunn/vader.vim.git
108test -d vim-repeat || git clone https://github.com/tpope/vim-repeat.git
9+ test -d vader.vim || exit 1
10+ test -d vim-repeat || exit 1
11+
1112command vim -Nu test/vimrc -c ' Vader! test/*'
13+ ret=$?
1214cd $oldpwd
15+
16+ exit $ret
You can’t perform that action at this time.
0 commit comments