lsp-ui icon indicating copy to clipboard operation
lsp-ui copied to clipboard

lsp-ui-peek-fontify 'on-demand doesn't work

Open hubgitname opened this issue 6 years ago • 1 comments

I've configured the lsp-ui-peek-fontify to "on-demand", but it doesn't work as shown in the picture below. "always" works but is slow on files with several entries. Are there any other settings that needs enabling for this work ?

lsp-ui-highlight-issue

hubgitname avatar Apr 23 '19 07:04 hubgitname

I encountered this problem, too and dug a bit deeper into the code. Seems like (funcall major) in lsp-ui-peek--render does nothing for some modes.

when I was in a buffer with typescript-tsx-mode I had to first switch to either web-mode (the parent of typescript-tsx-mode) or typescript-mode for the peek to have highlighting.

Fabbi avatar Jul 31 '22 14:07 Fabbi