You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since one of nvim-go stated goals is to be fully compatible with vim-go, I noticed that one of the config options missing at the moment is what command to run for auto formatting when saving.
Basically, we should have a way of specifying a similar flag/variable as done in vim-go with:
let g:go_fmt_command = "goimports"
This runs goimports on save and adds/removes the required/unused imports respectively.
Since one of nvim-go stated goals is to be fully compatible with vim-go, I noticed that one of the config options missing at the moment is what command to run for auto formatting when saving.
Basically, we should have a way of specifying a similar flag/variable as done in vim-go with:
let g:go_fmt_command = "goimports"
This runs
goimports
on save and adds/removes the required/unused imports respectively.See the mirror issue in vim-go.
The text was updated successfully, but these errors were encountered: