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

Syntax highlight turned off on large files. #8

Open
pocketkk opened this issue Jan 24, 2018 · 1 comment
Open

Syntax highlight turned off on large files. #8

pocketkk opened this issue Jan 24, 2018 · 1 comment

Comments

@pocketkk
Copy link

I don't mind a slow load for files over 1000 lines or so. The issue i am having is that on these large files, it loads slow and turns off syntax highlighting. I can turn highlight back on and it works normally with folding but every time i load the buffer i have to turn :syntax on.

Any work arounds or ideas to both use folding on large files and keep highlighting? I know about 'let g:ruby_fold_lines_limit = 600' and it keeps syntax hightlighting but i lose folding abiltity. I've really come to rely on folding.

Thanks!

@bruno-
Copy link
Collaborator

bruno- commented Jan 24, 2018

Hey, I can't reproduce this. I just skimmed the plugin code again and can't found anything that would play or mess up syntax. In fact, this plugin depends on syntax and syntax groups defined in vim-ruby.

I just confirmed this by putting syntax off in my .vimrc: without syntax this plugin didn't work

Can you please try reproducing this issue with minimal .vimrc?

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