taberian.vim icon indicating copy to clipboard operation
taberian.vim copied to clipboard

Broken on Neovim

Open wallace11 opened this issue 4 years ago • 2 comments

Hitting <C-W>t results in the following error:

Error detected while processing function taberian#render_current_window:
line   21:
E329: No menu "WinBar"
line   22:
E730: using List as a String
E15: Invalid expression: gettabwinvar(tabpagenr(), winnr(), 'taberian').tabs->deepcopy()
line   23:
E121: Undefined variable: tabs
E116: Invalid arguments for function len
E15: Invalid expression: len(tabs)
line   24:
E121: Undefined variable: ts_count
E15: Invalid expression: ts_count < 2 " render only if more than 1 tab
line   29:
E121: Undefined variable: tabs
E116: Invalid arguments for function map
line   38:
E121: Undefined variable: tabs
E15: Invalid expression: tabs->len() * (7 + 2 + 4) + 4 " 7: tab nr (2) + space + tab name (3 chars + '…')
line   39:
E121: Undefined variable: min_win_width
E15: Invalid expression: win_width < min_win_width
line   43:
E121: Undefined variable: tabs
E116: Invalid arguments for function s:winbar_width
E15: Invalid expression: s:winbar_width(tabs) > win_width
line   49:
E121: Undefined variable: tabs
E116: Invalid arguments for function s:winbar_width
E15: Invalid expression: s:winbar_width(tabs) > win_width
line   58:
E121: Undefined variable: tabs
E116: Invalid arguments for function s:underscored
E15: Invalid expression: s:underscored(tabs[w:taberian.curr_nr])
line   60:
E121: Undefined variable: tabs
E116: Invalid arguments for function map
line   63:
E121: Undefined variable: tabs
E15: Invalid expression: tabs

wallace11 avatar Sep 04 '21 18:09 wallace11

I investigated this, unfortunately Neovim right now doesn't support WinBar nor it has any equivalent functionality to implement this.

noscript avatar Sep 04 '21 18:09 noscript

Thanks for taking the time to investigate this issue. I hope that WinBar or anything equivalent would be added to Neovim soon, I guess :sweat_smile:

wallace11 avatar Sep 05 '21 20:09 wallace11