This is a project cloned from the Textmate Grammar example of Mads Kristensen that demonstrates how to ship Textmate grammars inside Visual Studio extensions. But modified to support PostgreSQL grammar.
The grammar syntax comes from https://github.com/tkopets/sublime-postgresql-syntax
Currently, .sql files are highlighted using MSSQL syntax by default. This can sometimes lead to incorrect syntax highlighting, especially when working with PostgreSQL-specific syntax.
For example:
To avoid this, I often rename my SQL files to use the .psql extension. However, doing so causes the syntax highlighting to be lost entirely.
And this is why this project exists.



