Open ITyukz11 opened 3 months ago
I think the problem is that the syntax highlighting requires a space between the enum's name and the {
See broken
enum UserType{
ADMIN
NORMAL
}
works
enum UserType {
ADMIN
NORMAL
}
Usually auto-formatting would fix this, with the CLI you can use npx prisma format
manually.
Note: the syntax is defined here -> https://github.com/prisma/language-tools/blob/main/packages/vscode/syntaxes/prisma.tmLanguage.json
![image](https://github.co m/prisma/language-tools/assets/138852354/5652b33d-4261-432c-b4ca-15befd2e1cce)