diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2014-06-28 23:52:05 +0200 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2014-06-28 23:54:28 +0200 |
| commit | 04a8ffb2cc6e94802fc9aa5e19f743e5bf414fc5 (patch) | |
| tree | 261007b94b811a23ee01e5188affcf3606e00c12 | |
| parent | 1a8bb833952d86ef1d8d2c85d514f678b6042de4 (diff) | |
vim: added syntastic module
| -rw-r--r-- | .gitmodules | 3 | ||||
| m--------- | vim/bundle/syntastic | 0 | ||||
| -rw-r--r-- | vimrc | 6 |
3 files changed, 9 insertions, 0 deletions
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 +Subproject 0bef7ef3f608f162eba0daee63acd13b3456efc @@ -77,6 +77,7 @@ nmap tn :tabnew<CR> nmap tc :tabclose<CR> noremap <silent> <F3> :BufExplorerHorizontalSplit<CR> nnoremap <silent> <F4> :TagbarToggle<CR> +nnoremap <silent> <F6> :SyntasticCheck<CR> " 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' } + |
