You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not 100% sure of what's going on in https://github.com/ray-x/go.nvim/blob/master/queries/go/injections.scm, but what I do observe is that sql := " CREATE TABLE my_table (some_column INT); " is not identified as SQL, while sql := " SELECT * FROM users; " is… and the spaces matter, for instance `sql := "SELECT * FROM users"; is parsed like this:
I'm not 100% sure of what's going on in https://github.com/ray-x/go.nvim/blob/master/queries/go/injections.scm, but what I do observe is that
sql := " CREATE TABLE my_table (some_column INT); "
is not identified as SQL, whilesql := " SELECT * FROM users; "
is… and the spaces matter, for instance `sql := "SELECT * FROM users"; is parsed like this:In short, what is the recommended way to make arbitrary strings recognized as SQL?
The text was updated successfully, but these errors were encountered: