Work around neovim WinBar rendering bug

This commit is contained in:
Ben Jackson 2020-11-19 23:26:06 +00:00
commit b36f9e893a
4 changed files with 35 additions and 14 deletions

View file

@ -785,3 +785,9 @@ def WindowID( window, tab=None ):
if tab is None:
tab = window.tabpage
return int( Call( 'win_getid', window.number, tab.number ) )
def UseWinBar():
# Buggy neovim doesn't render correctly when the WinBar is defined:
# https://github.com/neovim/neovim/issues/12689
return not int( Call( 'has', 'nvim' ) )