fix(language/typescript): disable lsp-semantic-tokens

They are laggy and annoying.
This commit is contained in:
2023-08-01 01:37:03 +01:00
parent de391e00ea
commit a10f797d42

View File

@@ -36,6 +36,11 @@
indent-level width
tab-width width))
;; Disable semantic tokens as it typically causes an annoying delay with the
;; syntax highlighting as you type. Essentially all new text is a very faded
;; out grey color for the first 1-2 seconds as you type.
(setq-local lsp-semantic-tokens-enable nil)
(lsp-format-buffer-on-save-mode t)
(lsp-deferred)
(flycheck-mode t)))