Open treequin opened 2 months ago
mode
buffers
tabs
on_click works when used in buffers and tabs.
on_click
on_click works in other components, but no in these.
call plug#begin("/home/usuario/lualine-bug/.local/share/nvim/plugged") Plug 'nvim-lualine/lualine.nvim' call plug#end() lua << END require'lualine'.setup { sections = { lualine_a = { { 'mode', on_click = function() vim.cmd('echo "on_click works"') end, }, }, }, tabline = { lualine_a = { { 'buffers', on_click = function() vim.cmd('echo "on_click does not work"') end, }, }, lualine_z = { { 'tabs', on_click = function() vim.cmd('echo "on_click does not work"') end, }, }, }, } END
Tested on latest stable (v0.9.5) and latest nightly (v0.10.0-dev-2830+g541c2d381).
Self Checks
How to reproduce the problem
mode
component. "on_click works" is echoed.buffers
component. Nothing is echoed.tabs
component. Nothing is echoed.Expected behaviour
on_click
works when used inbuffers
andtabs
.Actual behaviour
on_click
works in other components, but no in these.Minimal config to reproduce the issue
Additional information
Tested on latest stable (v0.9.5) and latest nightly (v0.10.0-dev-2830+g541c2d381).