|
|
@ -151,10 +151,6 @@ let g:rust_recommended_style=0 |
|
|
|
" Explicitly provide vim-go the gofmt command |
|
|
|
" Explicitly provide vim-go the gofmt command |
|
|
|
let g:go_fmt_command = "gofmt" |
|
|
|
let g:go_fmt_command = "gofmt" |
|
|
|
|
|
|
|
|
|
|
|
" Go linting and automatically lint on write |
|
|
|
|
|
|
|
set rtp+=$GOPATH/src/github.com/golang/lint/misc/vim |
|
|
|
|
|
|
|
autocmd BufWritePost,FileWritePost *.go execute 'Lint' | cwindow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Hotkeys |
|
|
|
" Hotkeys |
|
|
|
" Note noremap is a normal mode non-recursive mapping |
|
|
|
" Note noremap is a normal mode non-recursive mapping |
|
|
|
" nnoremap and nmap make the bind only work in normal mode |
|
|
|
" nnoremap and nmap make the bind only work in normal mode |
|
|
@ -202,6 +198,9 @@ endif |
|
|
|
let g:syntastic_javascript_checkers = ['eslint'] |
|
|
|
let g:syntastic_javascript_checkers = ['eslint'] |
|
|
|
let g:syntastic_javascript_jsxhint_exec = 'eslint' |
|
|
|
let g:syntastic_javascript_jsxhint_exec = 'eslint' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Go linting on write. This takes advantage of :GoMetaLinter in vim-go and requires golint to be installed |
|
|
|
|
|
|
|
autocmd BufWritePost,FileWritePost *.go execute 'GoMetalLinter' | cwindow<Paste> |
|
|
|
|
|
|
|
|
|
|
|
" Color customizations |
|
|
|
" Color customizations |
|
|
|
colorscheme zenburn |
|
|
|
colorscheme zenburn |
|
|
|
|
|
|
|
|
|
|
|