Remove Neovim Workaround, as bug has been fixed

This commit is contained in:
Christian Brabandt 2019-06-12 11:26:09 +02:00
parent 28453d7038
commit 73b4e4233c
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -52,9 +52,10 @@ function! s:on_window_changed(event)
return return
endif endif
" work around a neovim bug: do not trigger on floating windows " work around a neovim bug: do not trigger on floating windows
if exists("*nvim_win_get_config") && !empty(nvim_win_get_config(0).relative) " Disabled, Bug is fixed in Neovim, TODO: should be removed soon
return " if exists("*nvim_win_get_config") && !empty(nvim_win_get_config(0).relative)
endif " return
" endif
" Handle each window only once, since we might come here several times for " Handle each window only once, since we might come here several times for
" different autocommands. " different autocommands.
let l:key = [bufnr('%'), s:active_winnr, winnr('$'), tabpagenr(), &ft] let l:key = [bufnr('%'), s:active_winnr, winnr('$'), tabpagenr(), &ft]