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 4282a08..2a24218 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. @@ -183,6 +190,8 @@ (use-package flycheck) +(use-package which-key) + (use-package lsp-mode :config (yas-minor-mode) @@ -209,7 +218,10 @@ (lsp-mode . lsp-enable-which-key-integration)) :commands (lsp lsp-deferred)) -(use-package lsp-ui) +(use-package lsp-ui + :config + (setq lsp-ui-sideline-show-diagnostics nil) + ) (use-package lsp-ltex :init