From 04a8ffb2cc6e94802fc9aa5e19f743e5bf414fc5 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 28 Jun 2014 23:52:05 +0200 Subject: vim: added syntastic module --- .gitmodules | 3 +++ vim/bundle/syntastic | 1 + vimrc | 6 ++++++ 3 files changed, 10 insertions(+) create mode 160000 vim/bundle/syntastic diff --git a/.gitmodules b/.gitmodules index 70931ec..54d9400 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,6 @@ [submodule "ctrlp"] path = vim/bundle/ctrlp url = https://github.com/kien/ctrlp.vim.git +[submodule "syntastic"] + path = vim/bundle/syntastic + url = https://github.com/scrooloose/syntastic.git diff --git a/vim/bundle/syntastic b/vim/bundle/syntastic new file mode 160000 index 0000000..0bef7ef --- /dev/null +++ b/vim/bundle/syntastic @@ -0,0 +1 @@ +Subproject commit 0bef7ef3f608f162eba0daee63acd13b3456efcb diff --git a/vimrc b/vimrc index 6751bdf..e43a23a 100644 --- a/vimrc +++ b/vimrc @@ -77,6 +77,7 @@ nmap tn :tabnew nmap tc :tabclose noremap :BufExplorerHorizontalSplit nnoremap :TagbarToggle +nnoremap :SyntasticCheck " different keycodes in urxvt @@ -100,3 +101,8 @@ let g:bufExplorerShowNoName=1 let g:airline_theme='wombat' let g:airline#extensions#whitespace#enabled=0 +" Syntastic settings +let g:syntastic_check_on_wq=0 " don't check when closing buffers +let g:syntastic_aggregate_errors=1 " run every checker +let g:syntastic_mode_map = { 'mode': 'passive' } + -- cgit v1.2.3