2016-10-12 22:17:09 +00:00
|
|
|
" vint: -ProhibitSetNoCompatible
|
|
|
|
|
2017-09-06 22:28:39 +00:00
|
|
|
" Make most tests just set lists synchronously when run in Docker, etc.
|
2017-08-22 20:19:36 +00:00
|
|
|
let g:ale_set_lists_synchronously = 1
|
|
|
|
|
2016-10-11 02:28:25 +00:00
|
|
|
" Load builtin plugins
|
|
|
|
" We need this because run_vim.sh sets -i NONE
|
2017-09-06 22:28:39 +00:00
|
|
|
if has('win32')
|
2017-09-08 20:54:43 +00:00
|
|
|
set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,C:\testplugin
|
2017-09-06 22:28:39 +00:00
|
|
|
else
|
|
|
|
set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader
|
|
|
|
endif
|
2016-10-11 02:28:25 +00:00
|
|
|
|
|
|
|
" The following is just an example
|
|
|
|
filetype plugin indent on
|
|
|
|
syntax on
|
2017-09-06 22:28:39 +00:00
|
|
|
|
|
|
|
if !has('win32')
|
|
|
|
set shell=/bin/sh
|
|
|
|
set shellcmdflag=-c
|
|
|
|
endif
|
|
|
|
|
2016-10-11 02:28:25 +00:00
|
|
|
set nocompatible
|
|
|
|
set tabstop=4
|
|
|
|
set softtabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
set expandtab
|
|
|
|
set backspace=2
|
|
|
|
set nofoldenable
|
|
|
|
set foldmethod=syntax
|
|
|
|
set foldlevelstart=10
|
|
|
|
set foldnestmax=10
|
|
|
|
set ttimeoutlen=0
|
2017-09-09 17:03:34 +00:00
|
|
|
" The encoding must be explicitly set for tests for Windows.
|
|
|
|
set encoding=utf-8
|
2016-10-11 02:28:25 +00:00
|
|
|
|
2016-10-12 22:17:09 +00:00
|
|
|
let g:mapleader=','
|
2017-02-10 09:45:42 +00:00
|
|
|
|
|
|
|
" Clear the TMPDIR value for tests.
|
|
|
|
" The plugin should set this to /tmp by default, which we will test.
|
|
|
|
let $TMPDIR = ''
|