Skip to content
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

Add support for Snowflake SQL. #386

Open
nevdelap opened this issue Oct 13, 2023 · 0 comments
Open

Add support for Snowflake SQL. #386

nevdelap opened this issue Oct 13, 2023 · 0 comments

Comments

@nevdelap
Copy link

nevdelap commented Oct 13, 2023

I suspect it might just need this line in Parsing.Documents.fs...

    lang "SQL" "postgres" ".pgsql|.psql|.sql" <| sc [line "--"; cBlock]

duplicated as...

    lang "Snowflake SQL" "" ".sql" <| sc [line "--"; cBlock]

I have no idea about F# or dotnet and I'm on Linux without such things installed, otherwise I'd have a crack at testing it. (I see it is compiled down to Extensions.js where it is installed and I tried hacking at that just to see, but no good, as expected. 😉)

My workaround is to switch back and forth between Snowflake SQL and plain SQL when I want it to wrap a comment.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant