Fix vim go lint configuration

main
Buddy Sandidge 4 years ago
parent e2a852d903
commit a5425e923a

@ -10,10 +10,8 @@ let g:go_highlight_structs = 1
let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1
augroup go_linters
autocmd!
autocmd FileType go let g:ale_linters['go'] = ['golangci-lint']
augroup END
let g:ale_linters['go'] = ['golangci-lint']
let g:ale_go_golangci_lint_options = ''
" Open go doc in vertical window, horizontal, or tab
nnoremap <leader>d :GoDef<CR>

Loading…
Cancel
Save