Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions grammars/emacs/prql-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
'("0o[0-7]+"
"0x[0-9a-fA-F]+"
"0b[01]+"
"[0-9]+*")
"[0-9]+")
"Regex for matching PRQL numbers.")

(defconst prql-other-keywords
'("prql" "case" "let" "type" "alias" "in" "loop" "module")
'("let" "into" "case" "prql" "type" "module" "internal" "func" "import" "enum")
"List of other PRQL keywords.")

(defvar prql-font-lock-keywords
Expand Down
2 changes: 1 addition & 1 deletion grammars/nano/prql.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ comment "#"
color green "\<(int(8|16|32|64|128)?|float(32|64)|bool|text|date|time|timestamp)\>"

# Keywords.
color yellow "\<let|module|prql\>"
color yellow "\<(let|into|case|prql|type|module|internal|func|import|enum)\>"

# Transforms.
color brightcyan "\<(aggregate|derive|filter|from|group|join|select|sort|take|window)\>"
Expand Down
Loading