zhamlin / tiler.vim

Tiling window manger for Vim
MIT License
100 stars 5 forks source link

Broken on neovim 0.1.7 #4

Closed optixx closed 7 years ago

optixx commented 7 years ago

I get this when i open a 2nd window via :TilerNew

Error detected while processing function tiler#create_window[5]..tiler#reorder[99]..<SNR>98_resize_master[30]..<SNR>98_window_resize_percentage[2]..<SNR>98_winmaxheight:
line    4:
E117: Unknown function: gettabinfo
E116: Invalid arguments for function len(gettabinfo()) > 1 && &showtabline
E15: Invalid expression: len(gettabinfo()) > 1 && &showtabline
zhamlin commented 7 years ago

Looks like gettabinfo was introduced in vim 7.4.2204. What does echo tabpagenr() display for you? If that works, I'll update the code to use that.

optixx commented 7 years ago

Yep, it works.