m-novikov / tree-sitter-sql

SQL syntax highlighting for tree-sitter
MIT License
110 stars 32 forks source link

Improve create index #50

Open pplam opened 2 years ago

pplam commented 2 years ago
  1. Improved the CREATE INDEX statement according to https://www.postgresql.org/docs/current/sql-createindex.html;
  2. Added expression_list, identifier_list, assignment_expression_list, column_list and option_list of form seq("(", commaSep1(*), ")") and use them everywhere to increase the reusability of those rules;