We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3749c8 commit d7916a5Copy full SHA for d7916a5
src/frameworks/vue.ts
@@ -30,7 +30,7 @@ class VueFramework extends Framework {
30
31
// for visualize the regex, you can use https://regexper.com/
32
usageMatchRegex = [
33
- '(?:i18n(?:-\\w+)?[ (\n]\\s*(?:key)?path=|v-t=[\'"`{]|(?:this\\.|\\$|i18n\\.|[^\\w\\d])(?:t|tc|te)\\()\\s*[\'"`]({key})[\'"`]',
+ '(?:i18n(?:-\\w+)?[ \\n]\\s*(?:\\w+=[\'"][^\'"]*[\'"][ \\n]\\s*)?(?:key)?path=|v-t=[\'"`{]|(?:this\\.|\\$|i18n\\.|[^\\w\\d])(?:t|tc|te)\\()\\s*[\'"`]({key})[\'"`]'
34
]
35
36
refactorTemplates(keypath: string, args: string[] = [], doc?: TextDocument, detection?: DetectionResult) {
0 commit comments