lsp-ui
lsp-ui copied to clipboard
lsp-ui-doc sets track-mouse to 't' but this triggers spurious "<tab-bar> <mouse-movement>" events
setting track-mouse to 't' triggers the generation of spurious "
this can be trivially worked around, for example, if you load LSP via use-package:
:hook (lsp-after-initialize . (lambda () (keymap-local-set "<tab-bar> <mouse-movement>" #'ignore))))
but it might make sense to do this automatically for the user? or at least document this behavior so the user can resolve the problem easily?
thoughts/comments?
@mtk 's work around does not work for me.
What works is:
:hook (lsp-after-initialize . (lambda () (local-set-key (kbd "<tab-bar> <mouse-movement>") #'ignore)))
Also I would consider this an important bug, since lsp with tab-bar-mode (which is a built-in mode) is unusable out of the box.