From 73b4e4233cfb5d14997230f9cc1a430f4215295a Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 12 Jun 2019 11:26:09 +0200 Subject: [PATCH] Remove Neovim Workaround, as bug has been fixed --- plugin/airline.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugin/airline.vim b/plugin/airline.vim index 9bfbeb1c..64f024d7 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -52,9 +52,10 @@ function! s:on_window_changed(event) return endif " work around a neovim bug: do not trigger on floating windows - if exists("*nvim_win_get_config") && !empty(nvim_win_get_config(0).relative) - return - endif + " Disabled, Bug is fixed in Neovim, TODO: should be removed soon + " if exists("*nvim_win_get_config") && !empty(nvim_win_get_config(0).relative) + " return + " endif " Handle each window only once, since we might come here several times for " different autocommands. let l:key = [bufnr('%'), s:active_winnr, winnr('$'), tabpagenr(), &ft]