I’m using this language definition for Papyrus(the scripting language for Skyrim). It’s worked fine for the last couple years, but at some point (I couldn’t tell you when) it started choking on large files.
For instance, when I load this Activator script (a trivial file that just contains the required script header), it processes fine. But when I load up Actor.psc, a larger script with lots of functions, it hangs on the loading progress bar and never renders. Until I reboot Sublime Text, any attempt to load any other Papyrus script will also hang.
Without the language definition in place, all files open just fine. This definition worked well before, so I’m not sure what’s changed in the underlying systems. I know it contains a big regex for the built-in functions towards the bottom, but that hasn’t caused issues in the past. Anybody know what might be happening?