Skip to content

Commit

Permalink
feat(HighlightInput): Highlight additional keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
zane committed Nov 2, 2022
1 parent c329e25 commit 9066702
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/HighlightInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ const language = ({ regex }) => {
'desc',
'from',
'group',
'inner',
'join',
'limit',
'on',
'or',
'order',
'select',
Expand Down Expand Up @@ -83,7 +85,7 @@ const language = ({ regex }) => {
),
excludeEnd: true,
keywords: {
keyword: ['and', 'as', 'is', 'not', 'or'],
keyword: ['and', 'distinct', 'as', 'is', 'not', 'or'],
built_in: [
'by',
'conditioned',
Expand Down

0 comments on commit 9066702

Please sign in to comment.