nvim-config/lua/overseer/template/golang/run_file.lua

11 lines
205 B
Lua

-- Run currently open go file using Overseer
return {
name = 'go run file',
builder = function(_)
return {
cmd = 'go run ${file}',
}
end,
condition = { filetype = 'go' },
}