Updating Repo

* Added syntastic
* Updated submodules
This commit is contained in:
2016-12-29 10:41:15 -06:00
parent 552bb5d263
commit 4eb069cf26
264 changed files with 26011 additions and 6 deletions

View File

@@ -104,7 +104,6 @@ execute pathogen#infect()
set scrolljump=5 " Lines to scroll when cursor leaves screen
set scrolloff=2 " Minimum lines to keep above/below cursor
set nofoldenable " Don't auto-fold code
set foldmethod=syntax " Fold based on syntax
set nowrap " Don't wrap long lines
set nojoinspaces " Prevents inserting two spaces after punctiuation on
@@ -115,6 +114,8 @@ execute pathogen#infect()
set matchpairs+=<:> " Match < and > with %
set formatoptions+=j " Remove comment leaders when joining lines in comments
autocmd BufNewFile,BufRead * setlocal formatoptions-=cro " Do not add comment leaders on new lines
" }}
" Colors and UI {{
@@ -213,6 +214,22 @@ execute pathogen#infect()
echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
endfunc
" }}
" Syntastic Settings {{
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']
let g:syntastic_mode_map = { 'mode': 'active', 'passive_filetypes': ['go'] }
" }}
" }}
" Mappings and Macros {{