Skip to content

Commit

Permalink
fix: Highlighting DISTINCT keyword in SQL
Browse files Browse the repository at this point in the history
Highlighting distinct in sql

#4399 from akashdotsrivastava/4398-highlight-distinct-in-sql
  • Loading branch information
andrewnester authored Jun 28, 2022
2 parents a540323 + b2d3a35 commit fb3820a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ace/mode/sql_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var SqlHighlightRules = function() {
var keywords = (
"select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|" +
"when|then|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|" +
"foreign|not|references|default|null|inner|cross|natural|database|drop|grant"
"foreign|not|references|default|null|inner|cross|natural|database|drop|grant|distinct"
);

var builtinConstants = (
Expand Down

0 comments on commit fb3820a

Please sign in to comment.