diff --git a/lua/neotest-golang/process.lua b/lua/neotest-golang/process.lua index 3f14cc1b..cd7cf0a8 100644 --- a/lua/neotest-golang/process.lua +++ b/lua/neotest-golang/process.lua @@ -154,6 +154,9 @@ function M.filter_gotest_output(gotest_output) local o = {} for _, line in ipairs(gotest_output) do if line.Action == "output" then + if options.get().colorize_test_output == true then + line.Output = M.colorizer(line.Output) + end table.insert(o, line.Output) end end