Skip to content
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

Error loading syntax file "Packages/PHP/PHP.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit #261

Open
reekrd opened this issue Dec 10, 2020 · 4 comments

Comments

@reekrd
Copy link

reekrd commented Dec 10, 2020

After installing Naomi (I used Package Control) Sublime pops up the following error:

Error loading syntax file "Packages/PHP/PHP.sublime-syntax": Apparent recursion within a with_prototype action: 25000 context sanity limit hit

This error also pops up after restarting Sublime.

If I remove Naomi the error goes away.

Minimal code sample used to reproduce the error.
@delroh
Copy link

delroh commented Dec 13, 2020

Also experiencing this issue but with markdown syntax.

On sublime text start/restart:
window toast popup

Checking the sublime text terminal:
sublime text terminal output

@CelestinaDragoni
Copy link

I have posted a solution here: #183 try that and and see if it works for you (Note: I'm not on the naomi team). Let me know if that works out for you.

@reekrd
Copy link
Author

reekrd commented Jan 6, 2021

@KernelZechs awesome. Thanks for the workaround.

I went with renaming
Naomi/syntaxes/naomi.php7.sublime-syntax
Naomi/syntaxes/php7
Naomi/syntaxes/naomi.css3.sublime-syntax
Naomi/syntaxes/css3

@boycce
Copy link

boycce commented May 6, 2021

@KernelZechs awesome. Thanks for the workaround.

I went with renaming
Naomi/syntaxes/naomi.php7.sublime-syntax
Naomi/syntaxes/php7
Naomi/syntaxes/naomi.css3.sublime-syntax
Naomi/syntaxes/css3

Unfortunately @reekrd when doing this React CSS (style-components) will break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants