Closed Bost closed 11 years ago
can you do :echo winwidth(0) > &columns / 1.618
without error?
On 20 April 2013 16:29, Zhao Cai notifications@github.com wrote:
can you do :echo winwidth(0) > &columns / 1.618 without error?
No I can't. I get:
E806: using Float as a String E15: Invalid expression: winwidth(0) > &columns / 1.618
probably your vim does not have +float
support. you might need to update your vim.
try :echo has('float')
yea thx! seems like not it works!
Right after starting gvim when I press <C-l> I get:
Error detected while processing /home/bost/dev/dotfiles/vim/bundle/GoldenView.Vim/autoload/GoldenView/zl/window.vim: line 72: E806: using Float as a String E15: Invalid expression: 1.618 Error detected while processing function GoldenView#Split..GoldenView#zl#window#split_nicely..GoldenView#zl#window#nicely_split_cmd: line 15: E121: Undefined variable: s:golden_ratio E15: Invalid expression: ww > &columns / s:golden_ratio