Skip to content

Commit

Permalink
Remove workaround for neovim's broken GUI detection
Browse files Browse the repository at this point in the history
It looks like finally neovim got sane GUI detection support, like vim
[0].
This means we can remove the temporary workaround from 95a6ccb
completely.

Nightly neovim users who used a version of neovim released after
the broken 2022-12-01 version [1], but before the fix in 2023-02-28,
should update their version of neovim as soon as possible, as the root
of the problem is now properly fixed for neovim 0.9.

Fixes #46.

[0] neovim/neovim#22382
[1] neovim/neovim#18375
  • Loading branch information
vimpostor committed Mar 1, 2023
1 parent 4d8acfd commit a61f610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/tpipeline/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func tpipeline#util#set_size()
endfunc

func tpipeline#util#check_gui()
if (v:event['chan'] && !(has('nvim-0.9') && nvim_list_uis()[0].ext_termcolors)) || has('gui_running')
if (v:event['chan'] && !has('nvim-0.9')) || has('gui_running')
call tpipeline#state#restore()
endif
endfunc
Expand Down

0 comments on commit a61f610

Please sign in to comment.