Closed dekdevy closed 4 years ago
Thanks for sending over an example file for debugging, definitely helps a lot. Oddly, I am not having the issue with this file.
Could you send me the current build you're using for Sublime?
Also, could you try uninstalling the Svelte package, restarting Sublime, and reinstalling the package to see if that possibly clears up any issues?
Sublime Build is 3.2.2 3211 Restarting and reinstalling unfortunately does not solve it.
I'm pretty sure I found the issue, do you by change have Java​Script​Next - ES6 Syntax installed? This syntax hasn't been updated in quite a bit and seems to cause this issue with quite a few other syntax definitions. I would recommend uninstalling it and using Sublime's built in Javascript syntax definitions (creator of Sublime also recommended this).
That said, I do believe I found a workaround that keeps the conflict from occurring. Could you:
Svelte.sublime-syntax
in this repo~/Library/Application Support/Sublime Text 3/Packages/User
(you can navigate directly to the Packages
directory with the Command Palette by selecting "Preferences: Browse Packages)If all goes as planned, everything should be working as expected. If the issue still occurs, could you send me a list of all of your third-party packages that are installed to help find any other conflicts?
Thanks.
I've gone ahead and published these changes and will assume issue is resolved if I don't hear back.
Hello, when loading svelte files i get a crash with the newest update:
Error loading syntax file. Packages/Svelte/Svelte.sublime-syntax: Apparent recursion within a with_prototype action: 25000 context sanity limit.
Seems to be happening for all my files. Example file: