Skip to content

Commit fb3820a

Browse files
authored
fix: Highlighting DISTINCT keyword in SQL
Highlighting distinct in sql #4399 from akashdotsrivastava/4398-highlight-distinct-in-sql
2 parents a540323 + b2d3a35 commit fb3820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ace/mode/sql_highlight_rules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var SqlHighlightRules = function() {
3939
var keywords = (
4040
"select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|" +
4141
"when|then|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|" +
42-
"foreign|not|references|default|null|inner|cross|natural|database|drop|grant"
42+
"foreign|not|references|default|null|inner|cross|natural|database|drop|grant|distinct"
4343
);
4444

4545
var builtinConstants = (

0 commit comments

Comments
 (0)