sjbach / lusty

LustyExplorer / LustyJuggler for Vim
http://www.vim.org/scripts/script.php?script_id=1890
257 stars 30 forks source link

$curbuf.number is sometimes become zero #70

Closed hron84 closed 6 years ago

hron84 commented 12 years ago

Hi!

I ran into this issue: https://wincent.com/issues/1617

Could you do some workaround for this?

It currently breaks this plugin to work on my 32bit system.

sjbach commented 12 years ago

Yeah, that's frustrating. It's difficult for me to include a workaround in the lusty plugins - I don't have a 32-bit system on which to test. (Happy to accept a patch, though.) The solution suggested in that bug is to rebuild Vim with --disable-largefile, or to use a more recent version of Vim that doesn't have this bug. For now that's probably what I'd advocate as well.

hron84 commented 12 years ago

@sjbach i currently using more recent version of vim, so it is solved for me. However, in that issue you can see a recommendation about $curbuf.name to work around this issue. Since $curbuf.number never can be zero, you can implement this way as a fallback mechanism.

sjbach commented 6 years ago

This is a legitimate issue, but in 2018 the population of Vim users on 32-bit platforms has gotta be tiny. Closing for convenience.