From 3e4f959560deb7618a9109314c3d41c162c33c76 Mon Sep 17 00:00:00 2001 From: Fabian Kirchner Date: Fri, 13 Oct 2023 20:05:41 +0200 Subject: print file and row in show mode --- app/Issue.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Issue.hs') diff --git a/app/Issue.hs b/app/Issue.hs index 0e3ac2b..a222d0a 100644 --- a/app/Issue.hs +++ b/app/Issue.hs @@ -20,6 +20,7 @@ import Prelude hiding (id) data Issue = Issue { title :: Text, description :: Maybe Text, + file :: String, start :: G.Position, end :: G.Position, tags :: [Tag], @@ -42,6 +43,7 @@ fromMatch result match = Issue { title = title, description = description, + file = result.file, start = match.start, end = match.end, tags = maybe [] I.extractTags description, -- cgit v1.2.3