X Tutup
The Wayback Machine - https://web.archive.org/web/20201212180449/https://github.com/vim-ruby/vim-ruby/issues/359
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

ruby syntax highlight failure for large files on macOS terminal vim but not on GVim #359

Open
JESii opened this issue Sep 18, 2017 · 0 comments
Labels

Comments

@JESii
Copy link

@JESii JESii commented Sep 18, 2017

I'm running macOS Sierra and use both GVim and terminal vim
Gvim version

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 13 2017 04:07:30)
MacOS X (unix) version
Included patches: 1-1098  

Terminal version:

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 14 2017 18:28:18)
MacOS X (unix) version via HomeBrew
Included patches: 1-1100

For large files (one example is 1071 lines long, another 1564 lines),

  • syntax highlighting is completely lost when using 'G' to goto to the bottom of the file from the first line
  • If CTRL-F through the file from beginning to end, syntax highlighting is maintained
  • If CTRL-F from beginning to end, then 'gg', and 'G', syntax highlighting is USUALLY maintained, although sometimes it stops part-way through

The default syntax setting is:
syncing starts 500 lines before top line

The bad behavior persists, even when I set:
syntax sync fromstart

@dkearns dkearns added the syntax label Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
X Tutup