-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable use with capitalized version SQLselect * from foo;
#10
Comments
SQL
select * from foo;
`select * from foo;
Is there any other reason why you want to use the capitalized version? Because you can import the function from that library as lowercase: const sql = require('sql-template-strings'); |
As far as I understand, While hacky, the solution might be to allow users to configure list of string prefixes that should trigger SQL syntax highlighting. This way, I could add custom prefix |
Reading vscode issues like this one, there seem to be know way to make configurable TextMate grammar As a workaround, this extension can highlight string after any prefix that contains To support it, just replace the regex in |
E.g. this repo uses the capitalized version: https://github.com/felixfbecker/node-sql-template-strings
The text was updated successfully, but these errors were encountered: