]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/ale/test/vimrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit 'd49e95aa7ba744f0a7f544aca43afdb6aab41f24' as '.vim/bundle/asyncomplete...
[etc/vim.git] / .vim / bundle / ale / test / vimrc
1 " vint: -ProhibitSetNoCompatible
2
3 " Make most tests just set lists synchronously when run in Docker, etc.
4 let g:ale_set_lists_synchronously = 1
5 " Disable Neovim diagnostics by default for CI tests.
6 let g:ale_use_neovim_diagnostics_api = 0
7 " Disable Neovim native LSP API by default for CI tests.
8 let g:ale_use_neovim_lsp_api = 0
9
10 " This lowercase highlight definition is needed for highlight tests.
11 hi link aleerrorline spellbad
12
13 " Load builtin plugins
14 " We need this because run_vim.sh sets -i NONE
15 if has('win32')
16     set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,$PWD/vader,C:\testplugin,$PWD
17 else
18     set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader
19 endif
20
21 " The following is just an example
22 filetype plugin indent on
23 syntax on
24
25 if !has('win32')
26     set shell=/bin/sh
27     set shellcmdflag=-c
28 endif
29
30 set nocompatible
31 set tabstop=4
32 set softtabstop=4
33 set shiftwidth=4
34 set expandtab
35 set backspace=2
36 set nofoldenable
37 set foldmethod=syntax
38 set foldlevelstart=10
39 set foldnestmax=10
40 set ttimeoutlen=0
41 " The encoding must be explicitly set for tests for Windows.
42 execute 'set encoding=utf-8'
43
44 let g:mapleader=','
45
46 let g:ale_ignore_2_4_warnings = 1