Prisma LSP >6.8.0 Crashes #13662
-
SummaryThe Prisma LSP crashed complaining about settings being null. There is an issue on the Prisma LSP repo for this. prisma/language-tools#1869 Unlike the recommended workaround setting enableDiagnostics as an LSP config does not fix this for me. Reproduction StepsTo reproduce, install the latest prisma language server from npm and open a prisma file. # ~/.config/helix/languages.toml
[language-server]
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"], config = { enableDiagnostics = true } } Helix log~/.cache/helix/helix.log
PlatformmacOS Terminal Emulatorghostty Installation Methodbrew Helix Versionhelix 25.01.1 (e7ac2fc) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The crash is a bug upstream in the server but I think you may be able to work around it by scoping the config under "prisma" since the # ~/.config/helix/languages.toml
[language-server]
prisma-language-server = { command = "prisma-language-server", args = ["--stdio"], config = { prisma = { enableDiagnostics = true } } } This is similar to what Zed did in zed-extensions/prisma#9 |
Beta Was this translation helpful? Give feedback.
The crash is a bug upstream in the server but I think you may be able to work around it by scoping the config under "prisma" since the
workspace/configuration
request is asking for the "prisma" section:This is similar to what Zed did in zed-extensions/prisma#9