2016-10-12 18:17:09 -04:00
|
|
|
" vint: -ProhibitSetNoCompatible
|
|
|
|
|
2017-09-06 18:28:39 -04:00
|
|
|
" Make most tests just set lists synchronously when run in Docker, etc.
|
2017-08-22 16:19:36 -04:00
|
|
|
let g:ale_set_lists_synchronously = 1
|
|
|
|
|
2016-10-10 22:28:25 -04:00
|
|
|
" Load builtin plugins
|
|
|
|
" We need this because run_vim.sh sets -i NONE
|
2017-09-06 18:28:39 -04:00
|
|
|
if has('win32')
|
|
|
|
set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,C:\projects\ale
|
|
|
|
else
|
|
|
|
set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader
|
|
|
|
endif
|
2016-10-10 22:28:25 -04:00
|
|
|
|
|
|
|
" The following is just an example
|
|
|
|
filetype plugin indent on
|
|
|
|
syntax on
|
2017-09-06 18:28:39 -04:00
|
|
|
|
|
|
|
if !has('win32')
|
|
|
|
set shell=/bin/sh
|
|
|
|
set shellcmdflag=-c
|
|
|
|
endif
|
|
|
|
|
2016-10-10 22:28:25 -04: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
|
|
|
|
|
2016-10-12 18:17:09 -04:00
|
|
|
let g:mapleader=','
|
2017-02-10 04:45:42 -05:00
|
|
|
|
|
|
|
" Clear the TMPDIR value for tests.
|
|
|
|
" The plugin should set this to /tmp by default, which we will test.
|
|
|
|
let $TMPDIR = ''
|