1 syntax "SQL" "\.sql$" "sqliterc$"
3 icolor cyan "\<(ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT)\>"
4 icolor cyan "\<(BETWEEN|BINARY|BOTH|BY|BOOLEAN)\>"
5 icolor cyan "\<(CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE)\>"
6 icolor cyan "\<(DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT)\>"
7 icolor cyan "\<(ENCLOSED|ESCAPED|EXISTS|EXPLAIN)\>"
8 icolor cyan "\<(FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM)\>"
9 icolor cyan "\<(GROUP|GRANT|HAVING)\>"
10 icolor cyan "\<(IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF)\>"
11 icolor cyan "\<(JOIN|KEYS|KILL|KEY)\>"
12 icolor cyan "\<(LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE)\>"
13 icolor cyan "\<(MODIFY|NATURAL|NOT|NULL|NEXTVAL)\>"
14 icolor cyan "\<(OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON)\>"
15 icolor cyan "\<(PROCEDURE|PROCEDURAL|PRIMARY)\>"
16 icolor cyan "\<(READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT)\>"
17 icolor cyan "\<(SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET)\>"
18 icolor cyan "\<(TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED)\>"
19 icolor cyan "\<(UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW)\>"
20 icolor cyan "\<(WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\>"
21 color green "\<(VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|INTEGER|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\>"
23 # SQLite meta commands
24 icolor cyan "\.\<(databases|dump|echo|exit|explain|header(s)?|help)\>"
25 icolor cyan "\.\<(import|indices|mode|nullvalue|output|prompt|quit|read)\>"
26 icolor cyan "\.\<(schema|separator|show|tables|timeout|width)\>"
27 color brightcyan "\<(ON|OFF)\>"
29 color blue "\<([0-9]+)\>"
30 color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
31 color yellow "`(\\.|[^\\`])*`"
32 color brightblack "\-\-.*$"
33 color ,green "[[:space:]]+$"
34 color ,red " + +| + +"