mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
3
sources_non_forked/vim-go/ftplugin/gomod/commands.vim
Normal file
3
sources_non_forked/vim-go/ftplugin/gomod/commands.vim
Normal file
@ -0,0 +1,3 @@
|
||||
command! -nargs=0 -range GoModFmt call go#mod#Format()
|
||||
|
||||
command! -nargs=0 GoModFmtAutoSaveToggle call go#mod#ToggleModFmtAutoSave()
|
1
sources_non_forked/vim-go/ftplugin/gomod/mappings.vim
Normal file
1
sources_non_forked/vim-go/ftplugin/gomod/mappings.vim
Normal file
@ -0,0 +1 @@
|
||||
nnoremap <silent> <Plug>(go-mod-fmt) :<C-u>call go#mod#Format()<CR>
|
Reference in New Issue
Block a user