Added more editor features to support Golang, sql and git
This commit is contained in:
20
lua/overseer/template/user/go_trace.lua
Normal file
20
lua/overseer/template/user/go_trace.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
name = "go: trace",
|
||||
desc = "Generate execution trace (trace.out)",
|
||||
builder = function()
|
||||
return {
|
||||
cmd = { "go", "test" },
|
||||
args = {
|
||||
"-run=^$",
|
||||
"-bench=.",
|
||||
"-trace=trace.out",
|
||||
"./...",
|
||||
},
|
||||
components = {
|
||||
"default",
|
||||
"on_output_quickfix",
|
||||
{ "on_complete_notify", statuses = { "SUCCESS" } },
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user