Skip to content

Commit

Permalink
Fix bigint to be recognised as a scalar field and use that colour
Browse files Browse the repository at this point in the history
  • Loading branch information
Druue committed Sep 5, 2023
1 parent 1ff486e commit 2e97370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode/syntaxes/prisma.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"name": "scalar.field",
"patterns": [
{
"match": "^\\s*(\\w+)(\\s*:)?\\s+((?!(?:Int|String|DateTime|Bytes|Decimal|Float|Json|Boolean)\\b)\\b\\w+)?(Int|String|DateTime|Bytes|Decimal|Float|Json|Boolean)?(\\[\\])?(\\?)?(\\!)?",
"match": "^\\s*(\\w+)(\\s*:)?\\s+((?!(?:Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)\\b)\\b\\w+)?(Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)?(\\[\\])?(\\?)?(\\!)?",
"captures": {
"1": {
"name": "variable.other.assignment.prisma"
Expand Down

0 comments on commit 2e97370

Please sign in to comment.