I created a pr to get this syntax into nvim-treesitter https://github.com/nvim-treesitter/nvim-treesitter/pull/2511. It appears that the highlight.scm file is incomplete, or outdated with the syntax. It is missing some keywords like AND/OR.
Hey, appreciate the feedback and am sorry for the late reply.
NOT, AND, OR keywords are now in main.
I didn't have enough time lately to gather test cases, so if you have any more create issues :)
I created a pr to get this syntax into nvim-treesitter https://github.com/nvim-treesitter/nvim-treesitter/pull/2511. It appears that the highlight.scm file is incomplete, or outdated with the syntax. It is missing some keywords like
AND
/OR
.The syntax appears to be supported by the playground though https://m-novikov.github.io/tree-sitter-sql/. E.g.