Skip to content

Commit a886393

Browse files
committed
Fix code action title
1 parent c499f6b commit a886393

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/default/src/Ide/Plugin/Retrie.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,8 @@ suggestRuleRewrites originatingFile pos ms_mod (L _ (HsRules {rds_rules})) =
313313
)
314314
backwardsRewrite ruleName restrictToOriginatingFile =
315315
let rewrites = [RuleBackward (qualify ms_mod ruleName)]
316-
description = "Apply rule " <> T.pack ruleName <> " backwards"
316+
description = "Apply rule " <> T.pack ruleName <> " backwards" <>
317+
describeRestriction restrictToOriginatingFile
317318
in ( description,
318319
CodeActionRefactor,
319320
RunRetrieParams {..}

0 commit comments

Comments
 (0)