aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-08-26 22:46:32 -0700
committermitermayer <mitermayer.reis@gmail.com>2019-08-26 22:46:32 -0700
commit1ec83fa5bf860556166584e647438f8f43f40ec3 (patch)
treec21b113bc5c82a395169db96c034be35605f18f2 /tests
parentbae8e343d6f7dce1b5c9f7deed5d0f13ebf78c91 (diff)
downloadvim-prettier-1ec83fa5bf860556166584e647438f8f43f40ec3.tar.xz
Adding docker config for building test containers
- As part of integrating vim-driver as main testing platform for vim-prettier we will now ensure we can run tests on vim7 vim8 and neovim
Diffstat (limited to 'tests')
-rw-r--r--tests/vimrc35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/vimrc b/tests/vimrc
new file mode 100644
index 0000000..b33e61e
--- /dev/null
+++ b/tests/vimrc
@@ -0,0 +1,35 @@
+" vint: -ProhibitSetNoCompatible
+
+source /rtp.vim
+
+" 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,C:\testplugin
+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'