SqlMode: Fixed group by and order by, and added asc and desc
This commit is contained in:
parent
b163c6884f
commit
e26ce00afb
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@ var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightR
|
|||
var SqlHighlightRules = function() {
|
||||
|
||||
var keywords = lang.arrayToMap(
|
||||
("select|from|where|and|or|group by|order by|limit|offset|having|as|case|" +
|
||||
"when|else|end|type|left|right|join|on|outer").split("|")
|
||||
("select|from|where|and|or|group|by|order|limit|offset|having|as|case|" +
|
||||
"when|else|end|type|left|right|join|on|outer|desc|asc").split("|")
|
||||
);
|
||||
|
||||
var builtinConstants = lang.arrayToMap(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue