Update .emacs.d/README.org
This commit is contained in:
parent
f400090342
commit
f3eb0de104
1 changed files with 10 additions and 9 deletions
|
@ -38,9 +38,9 @@ Here, we're initializing MELPA, as well as package.el and use-package.
|
|||
;; and `package-pinned-packages`. Most users will not need or want to do this.
|
||||
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||
|
||||
(unless package-archive-contents
|
||||
;; Refresh package contents only if the archive contents are empty
|
||||
(unless (and package-archive-contents (not (equal package-archive-contents '())))
|
||||
(package-refresh-contents))
|
||||
|
||||
(require 'use-package)
|
||||
(setq use-package-always-ensure t)
|
||||
#+end_src
|
||||
|
@ -281,6 +281,7 @@ Eglot is a built in LSP client for Emacs. I prefer it to LSP as it's more lightw
|
|||
:defer t
|
||||
:config
|
||||
(setq eglot-events-buffer-size 0) ;; important performance fix (https://www.gnu.org/software/emacs/manual/html_node/eglot/Performance.html)
|
||||
(advice-add 'jsonrpc--log-event :override #'ignore)
|
||||
:bind (:map eglot-mode-map
|
||||
("C-c l h" . eldoc)
|
||||
("C-c l r" . eglot-rename)
|
||||
|
|
Loading…
Reference in a new issue