diff --git a/lsp-semantic-tokens.el b/lsp-semantic-tokens.el index 6f7a5f6752..33599e8f33 100644 --- a/lsp-semantic-tokens.el +++ b/lsp-semantic-tokens.el @@ -492,7 +492,7 @@ LOUDLY will be forwarded to OLD-FONTIFY-REGION as-is." (funcall old-fontify-region beg-orig end-orig loudly)) ((not (= lsp--cur-version (plist-get lsp--semantic-tokens-cache :_documentVersion))) ;; delay fontification until we have fresh tokens - '(jit-lock-bounds 0 . 0)) + nil) (t (setq old-bounds (funcall old-fontify-region beg-orig end-orig loudly)) ;; this is to prevent flickering when semantic token highlighting