m-novikov / tree-sitter-sql

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

Improve CREATE TYPE statement #29

Closed pplam closed 2 years ago

pplam commented 2 years ago

Improved the CREATE TYPE statement according to the grammar at https://www.postgresql.org/docs/current/sql-createtype.html

m-novikov commented 2 years ago

Please install pre-commit to auto-format grammar.js on commit. See https://github.com/m-novikov/tree-sitter-sql#development Also tests need updating

pplam commented 2 years ago

OK, thank for your suggestions m-novikov!