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

The ID for sign cannot be negative, make sure it isnt #120

Merged
merged 1 commit into from Jun 9, 2016
Merged

The ID for sign cannot be negative, make sure it isnt #120

merged 1 commit into from Jun 9, 2016

Conversation

jkerian
Copy link

@jkerian jkerian commented Jun 9, 2016

For very large files, the current calculation for l:id will produce a negative number. This will cause an ugly error message from sign place.

Note that this shows up for me with 32bit vim on a file with approximately 3,000,000 lines. It makes sense that we're wrapping a 32bit int when we multiply by 1000.

This patch seems to fix it.

@kshenoy kshenoy merged commit 782ed52 into kshenoy:master Jun 9, 2016
@jkerian jkerian deleted the fix_very_large_files branch June 9, 2016 22:21
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 this pull request may close these issues.

None yet

2 participants