dotvim/ftplugin/go.lua

10 lines
309 B
Lua
Raw Normal View History

2022-10-22 00:55:56 +00:00
vim.opt.expandtab = false
2022-10-28 23:53:06 +00:00
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)
2022-10-22 00:55:56 +00:00
vim.b.argwrap_tail_comma = 1