My schema.prisma file (https://www.prisma.io/docs/concepts/components/prisma-schema) is on Fundamental mode.
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
I would like to use some programming support in this file also. It's similar to JSON files, but not quite. Does anyone have a solution?
CodePudding user response:
emacs-prisma-mode provides a emacs mode for Prisma schemas. I found it in the editor setup page in the Prisma docs.
This should be what you're looking for.