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 33581e4 commit ad9b913
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/HighlightInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ const language = ({ regex }) => {
'desc',
'from',
'group',
'inner',
'join',
'limit',
'on',
'or',
'order',
'select',
Expand Down Expand Up @@ -81,7 +84,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 ad9b913

Please sign in to comment.