Skip to content

Commit

Permalink
Merge pull request #538 from pepeiborra/fix-retrie-rule-backwards
Browse files Browse the repository at this point in the history
[retrie] Fix code action title
  • Loading branch information
jneira authored Oct 25, 2020
2 parents c499f6b + a886393 commit 175eb06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/default/src/Ide/Plugin/Retrie.hs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ suggestRuleRewrites originatingFile pos ms_mod (L _ (HsRules {rds_rules})) =
)
backwardsRewrite ruleName restrictToOriginatingFile =
let rewrites = [RuleBackward (qualify ms_mod ruleName)]
description = "Apply rule " <> T.pack ruleName <> " backwards"
description = "Apply rule " <> T.pack ruleName <> " backwards" <>
describeRestriction restrictToOriginatingFile
in ( description,
CodeActionRefactor,
RunRetrieParams {..}
Expand Down

0 comments on commit 175eb06

Please sign in to comment.