dotvim/ftplugin/go.lua
2024-04-26 21:06:40 -07:00

8 lines
279 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)