summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs-config.org b/emacs-config.org
index 120901e..cf24880 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -1434,10 +1434,12 @@ Add version control next action shortcut in diff-mode buffer.
Configure eglot.
#+begin_src elisp
(with-eval-after-load 'eglot
- (keymap-set eglot-mode-map "C-c e a" #'eglot-code-actions)
- (keymap-set eglot-mode-map "C-c e e" #'eglot-code-actions)
- (keymap-set eglot-mode-map "C-c e f" #'eglot-format)
- (keymap-set eglot-mode-map "C-c e r" #'eglot-rename))
+ (keymap-set eglot-mode-map "C-# a" #'eglot-code-actions)
+ (keymap-set eglot-mode-map "C-# e" #'eglot-code-actions)
+ (keymap-set eglot-mode-map "C-# f" #'eglot-format)
+ (keymap-set eglot-mode-map "C-# r" #'eglot-rename)
+ (set-face-attribute 'eglot-inlay-hint-face
+ '((t (:height 1.0 :inherit shadow)))))
#+end_src
Enable eglot for certain modes.