lsp-ui
lsp-ui copied to clipboard
lsp-ui-peek-fontify 'on-demand doesn't work
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 ?
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.