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

Plugin breaks when line is > 16383 characters long #21

Open
nleo575 opened this issue Dec 19, 2019 · 1 comment
Open

Plugin breaks when line is > 16383 characters long #21

nleo575 opened this issue Dec 19, 2019 · 1 comment

Comments

@nleo575
Copy link

nleo575 commented Dec 19, 2019

I am working with large JSON dumps and noticed that plugin doesn't work when a line has greater than 16383 characters. The whole line just shows up as a the default text color (white in my case). If I truncate the line, the coloring works again as it should.

This behavior is line-by-line, so it ends up making a striped effect because of lines that are too long being white and lines that are less than the threshold having the correct coloring scheme.

@mechatroner
Copy link
Owner

Hi @nleo575,
16383 is the hard-coded limit in Sublime syntax engine. AFAIK there is no way to reconfigure this value, see sublimehq/sublime_text#513

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

2 participants