Browse Source

Add advanced syntastic settings

Alois Mahdal 8 years ago
parent
commit
d9512a30e3
1 changed files with 15 additions and 0 deletions
  1. 15
    0
      dotfiles/vim/vimrc

+ 15
- 0
dotfiles/vim/vimrc View File

@@ -12,6 +12,21 @@ let g:swap_custom_ops = ['and', 'or']
12 12
 
13 13
 nmap <F6> :SyntasticCheck<CR>
14 14
 
15
+set statusline+=%#warningmsg#
16
+set statusline+=%{SyntasticStatuslineFlag()}
17
+set statusline+=%*
18
+
19
+let g:syntastic_always_populate_loc_list = 1
20
+let g:syntastic_auto_loc_list = 0
21
+let g:syntastic_check_on_open = 0
22
+let g:syntastic_check_on_wq = 0
23
+
24
+let g:syntastic_mode_map = {
25
+  \ "mode": "active",
26
+  \ "active_filetypes": ["bash"],
27
+  \ "passive_filetypes": ["python"] }
28
+
29
+
15 30
 " ..................... "
16 31
 " PROGRAM / ENVIRONMENT "
17 32
 " ''''''''''''''''''''' "