]> git.madduck.net Git - etc/vim.git/blobdiff - .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 '76265755a1add77121c8f9dabb3e9bb70fe9a972' as '.vim/bundle/ale'
[etc/vim.git] / .vim / bundle / ale / test / vimrc
diff --git a/.vim/bundle/ale/test/vimrc b/.vim/bundle/ale/test/vimrc
new file mode 100644 (file)
index 0000000..c48a3cd
--- /dev/null
@@ -0,0 +1,46 @@
+" vint: -ProhibitSetNoCompatible
+
+" Make most tests just set lists synchronously when run in Docker, etc.
+let g:ale_set_lists_synchronously = 1
+" Disable Neovim diagnostics by default for CI tests.
+let g:ale_use_neovim_diagnostics_api = 0
+" Disable Neovim native LSP API by default for CI tests.
+let g:ale_use_neovim_lsp_api = 0
+
+" This lowercase highlight definition is needed for highlight tests.
+hi link aleerrorline spellbad
+
+" Load builtin plugins
+" We need this because run_vim.sh sets -i NONE
+if has('win32')
+    set runtimepath=$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,C:\vader,$PWD/vader,C:\testplugin,$PWD
+else
+    set runtimepath=/home/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,/testplugin,/vader
+endif
+
+" The following is just an example
+filetype plugin indent on
+syntax on
+
+if !has('win32')
+    set shell=/bin/sh
+    set shellcmdflag=-c
+endif
+
+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
+" The encoding must be explicitly set for tests for Windows.
+execute 'set encoding=utf-8'
+
+let g:mapleader=','
+
+let g:ale_ignore_2_4_warnings = 1