This commit is contained in:
Zelong Kuang
2026-02-25 22:18:53 +11:00
parent b7832a60d1
commit 097cfc4d82
5 changed files with 20 additions and 10 deletions

View File

@@ -7,17 +7,18 @@
(unless (derived-mode-p
'emacs-lisp-mode 'lisp-mode
'makefile-mode 'snippet-mode
'lisp-interaction-mode
'ron-mode)
(eglot-ensure))))
((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure))
:init
:bind (:map eglot-mode-map
("C-c c a" . eglot-code-actions))
:config
(setq completion-category-defaults nil)
(setq eglot-autoshutdown t
eglot-events-buffer-config 0
eglot-send-changes-idle-time 0.5
eglot-code-action-indications '(eldoc-hint))
:bind (:map eglot-mode-map
("C-c c a" . eglot-code-actions))
:config (setq completion-category-defaults nil))
eglot-code-action-indications '(eldoc-hint)))
(use-package eglot-booster
:ensure (eglot-booster :type git :host nil :repo "https://github.com/jdtsmith/eglot-booster")

View File

@@ -3,6 +3,7 @@
(use-package gcmh
:diminish
:ensure (:wait t) ;; what does this do in elpaca
:init
(gcmh-mode 1)
:config

View File

@@ -62,7 +62,8 @@
(use-package beframe
:hook elpaca-after-init
:bind (("C-x b" . beframe-switch-buffer)
("C-x C-b" . beframe-buffer-menu)))
("C-x C-b" . beframe-buffer-menu)
("C-x f" . other-frame-prefix)))
;; :config
;; (setq beframe-functions-in-frames '(project-prompt-project-dir)))