no need
This commit is contained in:
parent
8f4dabefe6
commit
30e2771875
|
@ -35,12 +35,3 @@ vim.api.nvim_create_autocmd('FileType', {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
local format_sync_grp = vim.api.nvim_create_augroup('GoFormat', {})
|
|
||||||
vim.api.nvim_create_autocmd('BufWritePre', {
|
|
||||||
pattern = '*.go',
|
|
||||||
callback = function()
|
|
||||||
require('go.format').goimports()
|
|
||||||
end,
|
|
||||||
group = format_sync_grp,
|
|
||||||
})
|
|
||||||
|
|
Loading…
Reference in New Issue