olance / intellij-prisma

Prisma schema file support for IntelliJ IDEs (WebStorm, PHPStorm, Pycharm, RubyMine, ...)
MIT License
26 stars 3 forks source link

non-JS generators don't work #7

Closed steebchen closed 2 years ago

steebchen commented 3 years ago

When using Prisma's Go client, the provider value is set to:

generator client {
    provider         = "go run github.com/prisma/prisma-client-go"
}

which results in this parsing error:

image

olance commented 2 years ago

@steebchen sorry about this and about the delay.

My lexer definition wasn't solid enough on string parsing, I've just fixed this and will release a new version by tomorrow!

steebchen commented 2 years ago

No worries, thanks for the fix :)