@malloydata/syntax-highlight 0.0.132-dev240315233415 → 0.0.132-dev240318200424
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.
|
@@ -39,22 +39,6 @@
|
|
|
39
39
|
},
|
|
40
40
|
"sql-string": {
|
|
41
41
|
"patterns": [
|
|
42
|
-
{
|
|
43
|
-
"begin": "\\b(select)(\\s*:\\s*)(\"\"\")",
|
|
44
|
-
"end": "\"\"\"",
|
|
45
|
-
"beginCaptures": {
|
|
46
|
-
"1": { "name": "keyword.control.select" },
|
|
47
|
-
"3": { "name": "punctuation.sql-block.open" }
|
|
48
|
-
},
|
|
49
|
-
"endCaptures": {
|
|
50
|
-
"0": { "name": "punctuation.sql-block.close" }
|
|
51
|
-
},
|
|
52
|
-
"name": "source.sql",
|
|
53
|
-
"patterns": [
|
|
54
|
-
{ "include": "#malloy-in-sql" },
|
|
55
|
-
{ "include": "source.sql" }
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
42
|
{
|
|
59
43
|
"begin": "(\\b[A-Za-z_][A-Za-z_0-9]*)(\\s*\\.\\s*)(sql)(\\s*\\(\\s*)(\"\"\")",
|
|
60
44
|
"end": "\"\"\"",
|
|
@@ -84,7 +68,7 @@
|
|
|
84
68
|
}
|
|
85
69
|
},
|
|
86
70
|
{
|
|
87
|
-
"match": "(?i)\\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE|
|
|
71
|
+
"match": "(?i)\\b(AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE|UNGROUPED)(\\s*\\()",
|
|
88
72
|
"captures": {
|
|
89
73
|
"1": { "name": "entity.name.function" }
|
|
90
74
|
}
|
|
@@ -350,11 +334,7 @@
|
|
|
350
334
|
"match": "(?i)\\baccept\\b",
|
|
351
335
|
"name": "keyword.control.accept"
|
|
352
336
|
},
|
|
353
|
-
|
|
354
|
-
"match": "(?i)\\bsql\\b",
|
|
355
|
-
"name": "keyword.control.sql"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
337
|
+
{
|
|
358
338
|
"match": "(?i)\\bselect\\b",
|
|
359
339
|
"name": "keyword.control.select"
|
|
360
340
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/syntax-highlight",
|
|
3
|
-
"version": "0.0.132-
|
|
3
|
+
"version": "0.0.132-dev240318200424",
|
|
4
4
|
"description": "A package to simplify the process of developing, testing, and syncnig Malloy syntax highlighting grammars",
|
|
5
5
|
"files": [
|
|
6
6
|
"grammars/**/*.tmGrammar.json",
|