|
|
|
@ -104,6 +104,7 @@ au FileType mako vmap Si S"i${ _(<esc>2f"a) }<esc> |
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
let g:airline_theme="luna" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
" => Vimroom |
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
@ -113,12 +114,25 @@ let g:goyo_margin_bottom = 2 |
|
|
|
|
nnoremap <silent> <leader>z :Goyo<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
" => Vim-go |
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
let g:go_fmt_command = "goimports" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
" => Syntastic (syntax checker) |
|
|
|
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
|
|
|
|
" Python |
|
|
|
|
let g:syntastic_python_checkers=['pyflakes'] |
|
|
|
|
|
|
|
|
|
" Javascript |
|
|
|
|
let g:syntastic_javascript_checkers = ['jshint'] |
|
|
|
|
|
|
|
|
|
" Go |
|
|
|
|
let g:syntastic_auto_loc_list = 1 |
|
|
|
|
let g:syntastic_go_checkers = ['go', 'golint', 'errcheck'] |
|
|
|
|
|
|
|
|
|
" Custom CoffeeScript SyntasticCheck |
|
|
|
|
func! SyntasticCheckCoffeescript() |
|
|
|
|
let l:filename = substitute(expand("%:p"), '\(\w\+\)\.coffee', '.coffee.\1.js', '') |
|
|
|
|