For go-tests on saving, only search tests in files named *_test.go
This commit is contained in:
parent
5d6834275b
commit
06f23dd1a6
@ -126,7 +126,7 @@ function M.goRunTests()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function M.goSetAllMarks()
|
function M.goSetAllMarks()
|
||||||
local files = vim.fn.system({ "find", "-type", "f", "-name", "*.go" })
|
local files = vim.fn.system({ "find", "-type", "f", "-name", "*_test.go" })
|
||||||
|
|
||||||
local sep = "\n"
|
local sep = "\n"
|
||||||
local filetable = {}
|
local filetable = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user