Skip to content

Commit

Permalink
fix(emacs): increase max-lisp-eval-depth for `gg/global-indent-bars…
Browse files Browse the repository at this point in the history
…-mode`

Otherwise, LSP semantic syntax highlighting can sometimes take up too much
of the call stack and throw an error.
  • Loading branch information
gekoke committed Dec 30, 2024
1 parent 24dfeb3 commit f4c1ea2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/nixos/programs/emacs/init.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))

(setq max-lisp-eval-depth (expt 2 13))

(setq gc-cons-threshold 100000000)
(setq read-process-output-max (* 1024 1024))

Expand Down

0 comments on commit f4c1ea2

Please sign in to comment.