This commit is contained in:
newbie 2024-01-06 19:05:22 +08:00
parent d3bc3ce9ab
commit 9b946457da

View File

@ -7,5 +7,13 @@ return {
},
},
},
}
},
on_attach = function()
G.api.nvim_create_user_command('R', function()
G.cmd [[set splitbelow]]
G.cmd [[sp]]
G.cmd [[term go run %]]
G.cmd [[startinsert]]
end, {})
end
}