sjbach / lusty

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

bignum too big to convert into `long' (MacVim) #80

Closed bwalle closed 11 years ago

bwalle commented 11 years ago

After updating to Mountain Lion, I get following error using Lusty on MacVim:

bignum too big to convert into long' (eval):1665:inheight=' (eval):1665:in max_height' (eval):1683:incompute_optimal_layout' (eval):1625:in print' (eval):610:inrefresh' (eval):499:in run' (eval):793:inrun' (eval):805:in run_from_path' (eval):4 (eval):252:inprofile' (eval):4

Changing the constant to 2^(16-1)-2 fixes the problem.

See http://code.google.com/p/macvim/issues/detail?id=420.

sjbach commented 11 years ago

Hi, I've pushed an update that overrides MOST_POSITIVE_FIXNUM to the value you give. When you have a chance, please let me know if that fixes the problem.

bwalle commented 11 years ago

Works like a charm. Thanks!