Performance improvements as recommended by lsp-mode

https://emacs-lsp.github.io/lsp-mode/page/performance/
This commit is contained in:
Marcel Kapfer 2022-02-12 22:52:13 +01:00
parent 5dedb1a6f7
commit 93aa0934ca
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -72,6 +72,15 @@ Use a sane date style.
(setq-default backup-inhibited t) (setq-default backup-inhibited t)
#+end_src #+end_src
** Performance tweaks
As recommended by [[https://emacs-lsp.github.io/lsp-mode/page/performance/][lsp-mode]],
#+begin_src emacs-lisp
(setq gc-cons-threshold 100000000
read-process-output-max (* 1024 1024))
#+end_src
** Disable adding double spaces after periods ** Disable adding double spaces after periods
Source: [[http://www.reddit.com/r/emacs/comments/2l5gtz/real_sentence_in_emacs/][Real sentence in Emacs : emacs]] Source: [[http://www.reddit.com/r/emacs/comments/2l5gtz/real_sentence_in_emacs/][Real sentence in Emacs : emacs]]