I’ve been working on a new sublime-syntax file when I tried an experiment.
name: Razor C#
file_extensions: cshtml
scope: source.razor.cs text.html.basic
Right after I added that second scope to my file, Sublime Text instantly crashed. Every time I opened Sublime Text, it would instantly crash. I removed the text.html.basic line in Notepad and managed to get Sublime Text to load, but now whenever I try to set a file to use my syntax, Sublime Text instantly crashes again.
I have tried:
- Deleting all my workspaces and sessions.
- Deleting my index and cache.
I’m not sure why it refuses to work anymore.
Here is my custom syntax:
It currently requires the version of C# here: