Check for existing issues
Describe the feature
vale version 3.9.2
Existing rule is:
extends: substitution
message: "Use %s instead of '%s'."
level: warning
ignorecase: false
action:
name: replace
swap:
Some phrase: some-sub
Output message is:
Use 'some-sub' instead of 'Some phrase'.
The code has hard coded the ' so if my rule message is this:
message: "Use |%s| instead of '%s'."
Vale outputs this for the warning:
Use |'some-sub'| instead of 'Some phrase'.
The goal is this which conveys the actual tag a user should use and is available for cut-n-paste:
Use |some-sub| instead of 'Some phrase'.