Open davibe opened 1 year ago
Hi. I don't think the name for syntax highlighting can be made configurable. It's part of a regex in the grammar file, e.g. look for sql|sqlFragment
in:
It's definitely possible to add more aliases here. We can change it to sql|sqlFragment|pq
. I'm kinda hesitant to maintain a potentially long list of names here. Maybe it's fine, though. Hm.
We're using the following names at Notion:
psql
- postgres sql, happy to align with pg
sqlite
- sqlite sqlsql
- generic sql, already supported Would love to support more of these. At least the ones i've picked all match \w{0,3}sql\w{0,3}
although i think adding more |literl|literal2
might be the better move
I am working on a project that's using
pg
instead ofsql
. Any chance this could be accomodated ? or even configurable ?