Skip to content

Commit

Permalink
prql: Add modules (#5440)
Browse files Browse the repository at this point in the history
* prql: Add modules

* Update prql_highlight_rules.js
  • Loading branch information
vanillajonathan authored Jan 2, 2024
1 parent 3ae69d2 commit 4c6cf13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mode/prql_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var PrqlHighlightRules = function() {
"int128",
"float",
"text",
"timestamp",
"set"].join("|");

var keywordMapper = this.createKeywordMapper({
Expand All @@ -33,7 +34,8 @@ var PrqlHighlightRules = function() {
"keyword": "let|into|case|prql|type|module|internal",
"storage.type": "let|func",
"support.function": builtinFunctions,
"support.type": builtinTypes
"support.type": builtinTypes,
"variable.language": "date|math"
}, "identifier");

var escapeRe = /\\(\d+|['"\\&bfnrt]|u\{[0-9a-fA-F]{1,6}\}|x[0-9a-fA-F]{2})/;
Expand Down

0 comments on commit 4c6cf13

Please sign in to comment.