first commit
This commit is contained in:
12
profiles/desktop/.emacs.d/early-init.el
Normal file
12
profiles/desktop/.emacs.d/early-init.el
Normal file
@@ -0,0 +1,12 @@
|
||||
;; set native compilation cache directory
|
||||
(startup-redirect-eln-cache
|
||||
(convert-standard-filename
|
||||
(expand-file-name "~/.cache/emacs/eln-cache/")))
|
||||
|
||||
;; performance tuning
|
||||
;; set as recommended at https://emacs-lsp.github.io/lsp-mode/page/performance/
|
||||
(setq gc-cons-threshold 100000000)
|
||||
(setq read-process-output-max (* 1024 1024)) ;; 1mb
|
||||
(setenv "LSP_USE_PLISTS" "true")
|
||||
(setq lsp-idle-delay 0.500)
|
||||
(setq lsp-log-io nil) ; if set to true can cause a performance hit
|
||||
Reference in New Issue
Block a user