Increase some performance limits for lsp-mode
As suggested by https://emacs-lsp.github.io/lsp-mode/page/performance/.
This commit is contained in:
parent
9ac3640159
commit
59fb5f3855
4
init.el
4
init.el
|
@ -403,7 +403,9 @@
|
||||||
search-whitespace-regexp "[ \t\r\n]+"
|
search-whitespace-regexp "[ \t\r\n]+"
|
||||||
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
|
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
|
||||||
history-delete-duplicates t
|
history-delete-duplicates t
|
||||||
track-eol t)
|
track-eol t
|
||||||
|
gc-cons-threshold (* 100 1024 1024) ; 100mb
|
||||||
|
read-process-output-max (* 1024 1024)) ; 1mb
|
||||||
|
|
||||||
(when (memq system-type '(gnu gnu/linux gnu/kfreebsd))
|
(when (memq system-type '(gnu gnu/linux gnu/kfreebsd))
|
||||||
(setq x-wait-for-event-timeout nil))
|
(setq x-wait-for-event-timeout nil))
|
||||||
|
|
Loading…
Reference in New Issue