Merge remote-tracking branch 'origin/master'

This commit is contained in:
2022-09-30 15:38:19 +02:00
2 changed files with 14 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ end
alias emacs="emacs -nw" alias emacs="emacs -nw"
alias gemacs="/usr/bin/emacs" alias gemacs="/usr/bin/emacs"
set -gx EDITOR "emacs" set -gx EDITOR "emacs"
set -gx LSP_USE_PLISTS "true"
################################################################################ ################################################################################
# Deb maintainer stuff # Deb maintainer stuff

14
.emacs
View File

@@ -1,5 +1,12 @@
;(toggle-debug-on-error) ;(toggle-debug-on-error)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") (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
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@@ -183,6 +190,8 @@
(use-package flycheck) (use-package flycheck)
(use-package which-key)
(use-package lsp-mode (use-package lsp-mode
:config :config
(yas-minor-mode) (yas-minor-mode)
@@ -209,7 +218,10 @@
(lsp-mode . lsp-enable-which-key-integration)) (lsp-mode . lsp-enable-which-key-integration))
:commands (lsp lsp-deferred)) :commands (lsp lsp-deferred))
(use-package lsp-ui) (use-package lsp-ui
:config
(setq lsp-ui-sideline-show-diagnostics nil)
)
(use-package lsp-ltex (use-package lsp-ltex
:init :init