Added more editor features to support Golang, sql and git
This commit is contained in:
15
lua/overseer/template/user/go_bench.lua
Normal file
15
lua/overseer/template/user/go_bench.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
name = "go: benchmarks",
|
||||
desc = "Run Go benchmarks with memory stats",
|
||||
builder = function()
|
||||
return {
|
||||
cmd = { "go", "test" },
|
||||
args = { "-bench=.", "-benchmem", "./..." },
|
||||
components = {
|
||||
"default",
|
||||
"on_output_quickfix",
|
||||
{ "on_complete_notify", statuses = { "SUCCESS", "FAILURE" } },
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user