Emacs: Increase the amount of data which is read from a process.
LSP responses are in 800k - 3M range, according to <https://github.com/emacs-lsp/lsp-mode#performance>.
This commit is contained in:
parent
c530a916fb
commit
1347b838c0
|
@ -1,6 +1,6 @@
|
|||
;;; global-variables.el --- Set global variables. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-02-11T18:03:59+0100>
|
||||
;; Time-stamp: <2020-02-26T04:52:33+0100>
|
||||
|
||||
;;; Commentary:
|
||||
;; * Set `slow-computer'.
|
||||
|
@ -53,6 +53,8 @@
|
|||
(auth-source-gpg-encrypt-to (cons (symbol-value 'user-mail-address) '()))
|
||||
|
||||
:config
|
||||
;; Amount of data which is read from a process. LSP responses are large.
|
||||
(setq read-process-output-max (* 1024 1024))
|
||||
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.
|
||||
(savehist-mode t) ; Save minibuffer history.
|
||||
(global-auto-revert-mode t) ; Auto-revert file if changed on disk.
|
||||
|
|
Loading…
Reference in New Issue