Closed nikkegg closed 2 years ago
Thanks for the detailed bug report, I appreciate it.
I have pushed a change that should fix this, but you will need to continue using the following autocmds in your config:
autocmd User CocDiagnosticChange call tpipeline#update()
autocmd User CocStatusChange call tpipeline#update()
Do not put these autocmds in a group with the name lightline#coc
, or otherwise they will get deleted once vim-lightline-coc
initializes: https://github.com/josa42/vim-lightline-coc/blob/53465b2c2ce7b6ae3497ad1cdb751dd3d8084d5c/plugin/lightline/coc.vim#L2
@vimpostor Worked like a charm, thank you for the awesome plugin and quick response :) 👏
Describe the bug
I am using this plugin together with https://github.com/josa42/vim-lightline-coc
Essentially, it pulls diagnostic events from coc and displays them in my statusline ( I am using lightline.vim) When I embed my statusline into tmux status bar, these events do not get updated.
I have tried capturing coc diagnostic events in the following way, however, this did not help:
I had this set too:
To reproduce
Configre coc.nvim for a language of your choice and install relevant coc plugin
Write some fuckery LSP does not like and observe how status bar in tmux is not updating.
Visual:
Expected behavior
Status bar in tmux gets updated when CocDiagnosticEvents fire
Vim version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 06 2022 10:35:28) macOS version - arm64 Included patches: 1-150 Compiled by Homebrew
Tmux version
tmux 3.3a
Terminal emulator
Iterm2
Debug output