Increase some performance limits for lsp-mode

As suggested by https://emacs-lsp.github.io/lsp-mode/page/performance/.
This commit is contained in:
Daniel - 2021-04-22 15:26:26 +02:00
parent 9ac3640159
commit 59fb5f3855
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 3 additions and 1 deletions

View File

@ -403,7 +403,9 @@
search-whitespace-regexp "[ \t\r\n]+"
visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow)
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))
(setq x-wait-for-event-timeout nil))