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
|
2023-09-09 15:33:23 +00:00
|
|
|
" Disable Neovim diagnostics by default for CI tests.
|
|
|
|
let g:ale_use_neovim_diagnostics_api = 0
|
2017-08-22 20:19:36 +00:00
|
|
|
|
2019-06-03 19:16:49 +00:00
|
|
|
" This lowercase highlight definition is needed for highlight tests.
|
|
|
|
hi link aleerrorline spellbad
|
|
|
|
|
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')
|
2023-09-07 19:47:20 +00:00
|
|
|
set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,$PWD/vader,C:\testplugin,$PWD
|
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.
|
2017-09-09 17:22:59 +00:00
|
|
|
execute 'set encoding=utf-8'
|
2016-10-11 02:28:25 +00:00
|
|
|
|
2016-10-12 22:17:09 +00:00
|
|
|
let g:mapleader=','
|
2019-04-07 15:24:08 +00:00
|
|
|
|
|
|
|
let g:ale_ignore_2_4_warnings = 1
|