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
Prisma Schema: Add .prisma syntax highlighting for Sublime Text #2336
Comments
Since SublimeText only accepts .sublime-syntax and .tmLanguage files for syntax highlighting, we have to convert our .tmLanguage.json to a .tmLanguage file. |
I created a repo here: |
What a nice fight with "Package Control Bot" ⚔️ |
Update: PR got merged. Closing this issue. |
How does this work for users of Sublimetext now? |
Users only have to change 'Plain Text' to 'Prisma' when they open a file. If users want to automatically detect .prisma files, they have to set this option (https://stackoverflow.com/questions/27454555/how-do-i-set-sublime-text-to-auto-detect-a-file-type-after-setting-it-once/27456902#27456902) |
Awesome! |
Problem
While we already have syntax highlighting for VSCode and GitHub, we should also add syntax highlighting to Sublime Text.
Solution
We can re-use https://github.com/prisma/vscode/blob/master/syntaxes/prisma.tmLanguage.json
in Sublime Text https://www.sublimetext.com/docs/3/syntax.html
But we'd still need an extension for this.
The text was updated successfully, but these errors were encountered: