From e7010d9d06e486ec39df11e3db8a94287f955673 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Thu, 29 Sep 2022 16:54:57 +0200 Subject: [PATCH] emacs lsp-mode enhancements --- .config/fish/config.fish | 1 + .emacs | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 9c28b21..c2d92e0 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -33,6 +33,7 @@ end alias emacs="emacs -nw" alias gemacs="/usr/bin/emacs" set -gx EDITOR "emacs" +set -gx LSP_USE_PLISTS "true" ################################################################################ # Deb maintainer stuff diff --git a/.emacs b/.emacs index e969289..f2a07de 100644 --- a/.emacs +++ b/.emacs @@ -1,5 +1,12 @@ + + ;(toggle-debug-on-error) (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") +;lsp performances +(setq gc-cons-threshold (* 100 1024 1024));; 100MB +(setq read-process-output-max (* 3 1024 1024));; 3MB + + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.