~ashton314/emacs-bedrock

97e12da249709818f9c1ce098d7d7fe3dc7dab4b — Ashton Wiersdorf 10 months ago 32ab2d4
Improve Eglot config a little big
2 files changed, 10 insertions(+), 0 deletions(-)

M extras/dev.el
M init.el
M extras/dev.el => extras/dev.el +5 -0
@@ 81,6 81,10 @@
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Helpful resources:
;;
;;  - https://www.masteringemacs.org/article/seamlessly-merge-multiple-documentation-sources-eldoc

(use-package eglot
  ;; no :ensure t here because it's built-in



@@ 90,6 94,7 @@

  :custom
  (eglot-send-changes-idle-time 0.1)
  (eglot-extend-to-xref t)              ; activate Eglot in referenced non-project files

  :config
  (fset #'jsonrpc--log-event #'ignore)  ; massive perf boost---don't log every event

M init.el => init.el +5 -0
@@ 21,6 21,11 @@
;;;  - Optional extras
;;;  - Built-in customization framework

;;; Guardrail

(when (< emacs-major-version 29)
  (error (format "Emacs Bedrock only works with Emacs 29 and newer; you have version ~a" emacs-major-version)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;;   Basic settings