2014-11-25 08:57:04 +00:00
|
|
|
setlocal noexpandtab
|
2020-04-29 02:51:52 +00:00
|
|
|
|
2021-01-20 04:31:16 +00:00
|
|
|
" ale
|
2020-04-29 02:51:52 +00:00
|
|
|
let b:ale_linters = ['gopls']
|
2021-01-20 04:31:16 +00:00
|
|
|
|
|
|
|
" vim-argwrap
|
2020-04-29 02:51:52 +00:00
|
|
|
let b:argwrap_tail_comma = 1
|
2021-01-20 04:31:16 +00:00
|
|
|
|
|
|
|
" vim-go
|
|
|
|
nmap <leader><f5> :GoDebugStart<cr>
|
|
|
|
nmap <leader><f9> :GoDebugBreakpoint<cr>
|
|
|
|
nmap <leader>b <plug>(go-build)
|
|
|
|
nmap <leader>c <plug>(go-coverage)
|
|
|
|
nmap <leader>r <plug>(go-run)
|
|
|
|
nmap <leader>t <plug>(go-test)
|
|
|
|
nmap <s-f11> :GoDebugStepOut<cr>
|
|
|
|
nmap <s-f5> :GoDebugStop<cr>
|