@tenzir/codemirror-lang-tql 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -101,7 +101,7 @@ const parser = lr.LRParser.deserialize({
|
|
|
101
101
|
tokenPrec: 885
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
const
|
|
104
|
+
const punctuation = `"+" "-" "*" "/" "=" "." "'" ":" "!" "?" "<" ">" "@" "%" "&" "#" ";" "^" "\`"`;
|
|
105
105
|
const TenzirQueryLang = language.LRLanguage.define({
|
|
106
106
|
parser: parser.configure({
|
|
107
107
|
props: [
|
|
@@ -110,7 +110,7 @@ const TenzirQueryLang = language.LRLanguage.define({
|
|
|
110
110
|
"String": highlight.tags.string,
|
|
111
111
|
"StringEsc and else if in let match meta not or this": highlight.tags.keyword,
|
|
112
112
|
"OpName! FnIdent": highlight.tags.name,
|
|
113
|
-
[
|
|
113
|
+
[punctuation]: highlight.tags.punctuation,
|
|
114
114
|
"LineComment BlockComment": highlight.tags.comment,
|
|
115
115
|
}),
|
|
116
116
|
],
|
package/dist/index.js
CHANGED
|
@@ -97,7 +97,7 @@ const parser = LRParser.deserialize({
|
|
|
97
97
|
tokenPrec: 885
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
const
|
|
100
|
+
const punctuation = `"+" "-" "*" "/" "=" "." "'" ":" "!" "?" "<" ">" "@" "%" "&" "#" ";" "^" "\`"`;
|
|
101
101
|
const TenzirQueryLang = LRLanguage.define({
|
|
102
102
|
parser: parser.configure({
|
|
103
103
|
props: [
|
|
@@ -106,7 +106,7 @@ const TenzirQueryLang = LRLanguage.define({
|
|
|
106
106
|
"String": tags.string,
|
|
107
107
|
"StringEsc and else if in let match meta not or this": tags.keyword,
|
|
108
108
|
"OpName! FnIdent": tags.name,
|
|
109
|
-
[
|
|
109
|
+
[punctuation]: tags.punctuation,
|
|
110
110
|
"LineComment BlockComment": tags.comment,
|
|
111
111
|
}),
|
|
112
112
|
],
|
package/package.json
CHANGED