Work around neovim WinBar rendering bug
This commit is contained in:
parent
b7de25e3d1
commit
b36f9e893a
4 changed files with 35 additions and 14 deletions
|
|
@ -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' ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue