Improve lsp (it freezes a lot).

This commit is contained in:
kj 2022-06-09 03:53:28 -04:00
parent d50f434788
commit b59e654bbd
2 changed files with 8 additions and 1 deletions

View File

@ -40,6 +40,9 @@
lsp-enable-symbol-highlighting nil
lsp-enable-text-document-color nil
lsp-log-io nil
lsp-idle-delay 1
lsp-enable-indentation nil
lsp-enable-on-type-formatting nil)
:config
@ -85,6 +88,10 @@
:hook (lsp-mode . lsp-ui-mode)
:init
(setq lsp-ui-sideline-show-code-actions nil
lsp-ui-sideline-show-symbol nil
lsp-ui-sideline-show-hover nil
lsp-ui-sideline-delay 0.5)
(setq lsp-ui-sideline-show-diagnostics nil
lsp-ui-sideline-ignore-duplicate t
lsp-ui-doc-show-with-cursor nil

View File

@ -31,7 +31,7 @@
(add-hook 'emacs-startup-hook
(lambda ()
"Recover GC values after startup."
(setq gc-cons-threshold 800000
(setq gc-cons-threshold 100000000
gc-cons-percentage 0.1)))
;; Cargar configuraciones