dotvim/ftplugin/go.lua
2022-10-28 16:53:06 -07:00

10 lines
309 B
Lua

vim.opt.expandtab = false
vim.keymap.set('n', '<leader>b', vim.cmd.GoBuild)
vim.keymap.set('n', '<leader>c', vim.cmd.GoCoverage)
vim.keymap.set('n', '<leader>i', vim.cmd.GoInstall)
vim.keymap.set('n', '<leader>r', vim.cmd.GoRun)
vim.keymap.set('n', '<leader>t', vim.cmd.GoTest)
vim.b.argwrap_tail_comma = 1