vimrc: go lint
All checks were successful
dotfiles/pipeline/head This commit looks good

This commit is contained in:
Johannes Rothe 2022-02-06 19:41:04 +01:00
parent 78d98d31d9
commit 2f0abfda38

View File

@ -23,7 +23,7 @@ augroup terraform
augroup end
augroup go
autocmd FileType go :set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
autocmd FileType go nnoremap <F9> :GoFmt<CR>
au FileType go nmap <F9> <Plug>(go-fmt)<Plug>(go-lint)
au FileType go nmap <F7> <Plug>(go-build)
au FileType go nmap <F8> <Plug>(go-run)
augroup end