justincampbell / vim-eighties

Automatically resizes your windows
http://www.vim.org/scripts/script.php?script_id=4502
MIT License
64 stars 6 forks source link

Error on opening/changing splits #15

Open michaelmior opened 9 years ago

michaelmior commented 9 years ago

I'm not sure what caused this but if you have any quick suggestions on how I could investigate this, that would be great!

Error detected while processing function eighties#EightiesResize..<SNR>138_new_width..<SNR>138_total_left_width..<SNR>138_sign_width:
line    8:
E158: Invalid buffer name: 1
michaelmior commented 9 years ago

On further investigation, this occurs only when I have a file named 1 in my working directly, regardless of whether or not I ever open the file.

justincampbell commented 8 years ago

I believe this was introduced with 81b3acf, but reverting that would most likely reintroduce the bug described in #7.