refactor: migrate legacy wire namespace to wrn
Quality / quality (ubuntu-latest) (push) Failing after 9m49s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 18:51:15 +05:30
parent ec23dd4c93
commit 2c960fc1dc
488 changed files with 27306 additions and 19063 deletions
@@ -1,19 +1,19 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Wire attributes",
"name": "WrNexus attributes",
"scopeName": "wrn.attributes.injection",
"injectionSelector": "L:meta.tag -comment -string",
"patterns": [{ "include": "#wire-event" }, { "include": "#wire-directive" }],
"patterns": [{ "include": "#wrn-event" }, { "include": "#wrn-directive" }],
"repository": {
"wire-event": {
"wrn-event": {
"match": "(@)([A-Za-z][A-Za-z0-9_-]*)",
"captures": {
"1": { "name": "punctuation.definition.keyword.wrn" },
"2": { "name": "entity.other.attribute-name.wrn.event" }
}
},
"wire-directive": {
"match": "\\b(data-(?:component|scope|for|text|show|slot|on-[A-Za-z0-9_-]+|wire-[A-Za-z0-9_-]+|wrnexus-[A-Za-z0-9_-]+))\\b",
"wrn-directive": {
"match": "\\b(data-(?:component|scope|for|text|show|slot|on-[A-Za-z0-9_-]+|wrn-[A-Za-z0-9_-]+|wrnexus-[A-Za-z0-9_-]+))\\b",
"name": "entity.other.attribute-name.wrn.directive"
}
}
+2 -2
View File
@@ -652,7 +652,7 @@
"include": "#interpolation"
},
{
"include": "#wire-event"
"include": "#wrn-event"
},
{
"include": "#conditional-class"
@@ -666,7 +666,7 @@
],
"applyEndPatternLast": true
},
"wire-event": {
"wrn-event": {
"match": "(@)(?:(window|document)(:))?([A-Za-z][A-Za-z0-9_-]*)(\\s*=)",
"captures": {
"1": {