We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae3370 commit a892a19Copy full SHA for a892a19
1 file changed
after/ftplugin/go.lua
@@ -11,3 +11,10 @@ opt.expandtab = false -- Expand tab to spaces so that tabs are spaces
11
vim.keymap.set("n", "<Space>f", function()
12
vim.cmd([[silent !gofumpt -w %]])
13
end, { buffer = true, silent = true })
14
+
15
+vim.keymap.set("n", "<F9>", function()
16
+ vim.cmd[[!go run %]]
17
+end, {
18
+ buffer = true,
19
+ silent = true,
20
+})
0 commit comments