Skip to content

Commit

Permalink
Merge pull request #16 from MrcJkb/12-only-display-entire-output-if-n…
Browse files Browse the repository at this point in the history
…o-error-messages-are-found

Fix #12: Do not display full build output as virtual text
  • Loading branch information
mrcjkb authored Oct 12, 2022
2 parents b84f838 + c3ba9f7 commit c3245f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Fixed
- [Whitespace of virtual text error messages not trimmed](https://github.com/MrcJkb/neotest-haskell/issues/13)
### Changed
- [Do not display full output as virtual text.](https://github.com/MrcJkb/neotest-haskell/issues/12)
To display output, see `:h neotest.output.open()`

## [0.1.0] - 2022-10-11
### Added
Expand Down
5 changes: 0 additions & 5 deletions lua/neotest-haskell/cabal.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ function M.parse_results(context, out_path)
end
local result = { [pos_id] = {
status = 'failed',
errors = {
{
message = data,
},
},
} }
for _, pos in ipairs(failure_positions) do
local failure = { [pos_path .. '::"' .. pos .. '"'] = {
Expand Down

0 comments on commit c3245f5

Please sign in to comment.