Add ALE to the Vim runtimepath in the Docker image so it can run tests.
This commit is contained in:
parent
037b703682
commit
7287943473
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
IMAGE ?= w0rp/ale
|
||||
DOCKER = docker run -a stderr --rm -v $(PWD):/testplugin -v $(PWD)/test:/home "$(IMAGE)"
|
||||
DOCKER = docker run -a stderr --rm -v $(PWD):/testplugin -v $(PWD)/test:/home -v ${PWD}:/home/ale "$(IMAGE)"
|
||||
|
||||
test-setup:
|
||||
docker images -q $(IMAGE) || docker pull $(IMAGE)
|
||||
|
@ -1,7 +1,10 @@
|
||||
" vint: -ProhibitSetNoCompatible
|
||||
|
||||
" Load builtin plugins
|
||||
" We need this because run_vim.sh sets -i NONE
|
||||
set rtp=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/home/vim/after
|
||||
set rtp+=/vader
|
||||
set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/home/vim/after
|
||||
set runtimepath+=/home/ale
|
||||
set runtimepath+=/vader
|
||||
|
||||
" The following is just an example
|
||||
filetype plugin indent on
|
||||
@ -18,4 +21,4 @@ set foldlevelstart=10
|
||||
set foldnestmax=10
|
||||
set ttimeoutlen=0
|
||||
|
||||
let mapleader=','
|
||||
let g:mapleader=','
|
||||
|
Loading…
Reference in New Issue
Block a user