Skip to content

Conversation

@MaskRay
Copy link
Member

@MaskRay MaskRay commented Jun 18, 2018

'on-demand fontifies the chunk when the selection changes.

I have indexed compiler-rt with ccls and checked a common identifier uptr which has 2000 references (cutoff because of the initialization option xref.maxNum). It is no slower than 'never though a bit slower when I trigger lsp-ui-peek--select-next continuously. But I think this should be ok.

@MaskRay MaskRay changed the title [lsp-ui-peek] Generalize lsp-ui-peek-force-fontify to lsp-ui-peek-fon… [lsp-ui-peek] Generalize lsp-ui-peek-force-fontify to lsp-ui-peek-fontify and add another choice 'on-demand Jun 18, 2018
…tify and add another choice 'on-demand

'on-demand fontifies the chunk when the selection changes.
@MaskRay MaskRay merged commit bd5970e into emacs-lsp:master Jun 19, 2018
@MaskRay MaskRay deleted the fontify branch June 19, 2018 02:51
MaskRay added a commit to MaskRay/spacemacs that referenced this pull request Sep 2, 2018
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) emacs-lsp/lsp-ui#148 . This is no longer needed.
sdwolfz pushed a commit to syl20bnr/spacemacs that referenced this pull request Sep 3, 2018
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) emacs-lsp/lsp-ui#148 . This is no longer needed.
CodingSolo pushed a commit to CodingSolo/spacemacs that referenced this pull request Oct 29, 2018
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) emacs-lsp/lsp-ui#148 . This is no longer needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant