summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-programming.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-programming.el')
-rw-r--r--custom/jao-custom-programming.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index aed4d29..7677177 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -15,7 +15,7 @@
"Toggle eldoc's documentation buffer."
(interactive)
(let ((buffer (eldoc-doc-buffer)))
- (if-let (w (and buffer (get-buffer-window buffer)))
+ (if-let* ((w (and buffer (get-buffer-window buffer))))
(delete-window w)
(eldoc-doc-buffer t))))
@@ -59,6 +59,7 @@
:init ;; (setq eglot-ignored-server-capabilites '(:inlayHintProvider))
(defun jao-eglot-managed-mode-hook ()
(eglot-inlay-hints-mode -1)
+ (eglot-semantic-tokens-mode -1)
(setq-local eldoc-display-functions '(eldoc-display-in-buffer)))
(setq eglot-events-buffer-config '(:size 1000 :format full)
eglot-autoshutdown t)