Improve lsp (it freezes a lot).
This commit is contained in:
parent
d50f434788
commit
b59e654bbd
@ -40,6 +40,9 @@
|
|||||||
lsp-enable-symbol-highlighting nil
|
lsp-enable-symbol-highlighting nil
|
||||||
lsp-enable-text-document-color nil
|
lsp-enable-text-document-color nil
|
||||||
|
|
||||||
|
lsp-log-io nil
|
||||||
|
lsp-idle-delay 1
|
||||||
|
|
||||||
lsp-enable-indentation nil
|
lsp-enable-indentation nil
|
||||||
lsp-enable-on-type-formatting nil)
|
lsp-enable-on-type-formatting nil)
|
||||||
:config
|
:config
|
||||||
@ -85,6 +88,10 @@
|
|||||||
:hook (lsp-mode . lsp-ui-mode)
|
:hook (lsp-mode . lsp-ui-mode)
|
||||||
|
|
||||||
:init
|
: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
|
(setq lsp-ui-sideline-show-diagnostics nil
|
||||||
lsp-ui-sideline-ignore-duplicate t
|
lsp-ui-sideline-ignore-duplicate t
|
||||||
lsp-ui-doc-show-with-cursor nil
|
lsp-ui-doc-show-with-cursor nil
|
||||||
|
2
init.el
2
init.el
@ -31,7 +31,7 @@
|
|||||||
(add-hook 'emacs-startup-hook
|
(add-hook 'emacs-startup-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
"Recover GC values after startup."
|
"Recover GC values after startup."
|
||||||
(setq gc-cons-threshold 800000
|
(setq gc-cons-threshold 100000000
|
||||||
gc-cons-percentage 0.1)))
|
gc-cons-percentage 0.1)))
|
||||||
|
|
||||||
;; Cargar configuraciones
|
;; Cargar configuraciones
|
||||||
|
Loading…
Reference in New Issue
Block a user