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

Loading issue as of Sublime version 4186 #7

Open
ironman92 opened this issue Jan 2, 2025 · 6 comments · May be fixed by #8
Open

Loading issue as of Sublime version 4186 #7

ironman92 opened this issue Jan 2, 2025 · 6 comments · May be fixed by #8

Comments

@ironman92
Copy link

Plugin will not load with error:

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

@nwoltman
Copy link
Owner

nwoltman commented Jan 5, 2025

Which version of Sublime Text are you using?

Also, does this happen for every EJS file, or only certain ones? Can you make a very simple EJS file and see if it loads when viewing that file?

@ironman92
Copy link
Author

Sublime Text version 4189, but the issue started in 4186.

The plugin will not load even with a completely blank file.

It looks like the issue is something with the "with_prototype" section. If the "with_prototype" is changed to "prototype" or commented out completely the plugin loads, but of course does not recognize the ejs syntax correctly.

@nwoltman
Copy link
Owner

nwoltman commented Jan 8, 2025

Are you on Linux? I couldn't reproduce on Windows or Mac, so I created an Ubuntu VM and was able to reproduce there.

@wout
Copy link

wout commented Jan 11, 2025

I have the same issues:

image

OS: Ubuntu 24.04
Sublime Text 4: 4189 (latest stable)
Node.js: v22.11.0 (not sure if this is relevant)

For now I'm using ERB syntax highlighting. It's not ideal, but it's better than nothing.

@nwoltman
Copy link
Owner

@wout Thanks for the report. It seems this issue affects only Linux. I believe this is a bug in Sublime Text itself that came with a recent update, so I'll try reporting directly to them.

@nwoltman
Copy link
Owner

You can follow my bug report here: sublimehq/sublime_text#6610

@deathaxe deathaxe linked a pull request Feb 8, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants