python/efm config that's better

This commit is contained in:
Barak Michener 2024-01-09 13:24:18 -08:00 committed by Barak Michener
parent 4eca2ee06a
commit 2e87881195
3 changed files with 148 additions and 31 deletions

View file

@ -99,6 +99,9 @@ augroup go
autocmd FileType go set softtabstop=2
autocmd FileType go set shiftwidth=2
autocmd FileType go set noexpandtab
autocmd FileType go imap <buffer> <silent> <Leader>rr <C-o>:GoIfErr<cr>
autocmd FileType go nmap <buffer> <silent> <Leader>rr :GoIfErr<cr>
autocmd FileType go nnoremap <silent> <Leader>im <cmd>lua require('telescope').extensions.goimpl.goimpl{theme = "ivy", layout_config = {height = 10}}<cr>
"autocmd FileType go nmap <Leader>gd <Plug>(go-doc)
"autocmd FileType go nmap gd <Plug>(go-def)
augroup END