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')
|
2017-09-08 16:54:43 -04:00
|
|
|
set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,C:\testplugin
|
2017-09-06 18:28:39 -04:00
|
|
|
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
|
2017-09-09 13:03:34 -04:00
|
|
|
" The encoding must be explicitly set for tests for Windows.
|
2017-09-09 13:22:59 -04:00
|
|
|
execute 'set encoding=utf-8'
|
2016-10-10 22:28:25 -04:00
|
|
|
|
2016-10-12 18:17:09 -04:00
|
|
|
let g:mapleader=','
|
2019-04-07 11:24:08 -04:00
|
|
|
|
|
|
|
let g:ale_ignore_2_4_warnings = 1
|