aboutsummaryrefslogtreecommitdiffstats
path: root/app/Issue.hs
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-13 20:05:41 +0200
committerLibravatar Fabian Kirchner <kirchner@posteo.de>2023-10-13 20:05:41 +0200
commit3e4f959560deb7618a9109314c3d41c162c33c76 (patch)
tree279279793ac508fa6218060b84e759cc1bf7b86f /app/Issue.hs
parente374dfe4a9e508d571ce50924d274a4390965189 (diff)
print file and row in show mode
Diffstat (limited to 'app/Issue.hs')
-rw-r--r--app/Issue.hs2
1 files changed, 2 insertions, 0 deletions
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,