summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-programming.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-11-27 12:01:07 +0000
committerjao <jao@gnu.org>2025-11-27 12:01:07 +0000
commit2069756845c032eed984f74432b6339172ca759a (patch)
treea1bc728d235cea9b53aff8867e93e17659404233 /custom/jao-custom-programming.el
parent466cac11553f585b78690f39ff72fe7127fec7a1 (diff)
downloadelibs-2069756845c032eed984f74432b6339172ca759a.tar.gz
elibs-2069756845c032eed984f74432b6339172ca759a.tar.bz2
eglot: disabling annoying inline hints
Diffstat (limited to 'custom/jao-custom-programming.el')
-rw-r--r--custom/jao-custom-programming.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/jao-custom-programming.el b/custom/jao-custom-programming.el
index b1f494a..fb98314 100644
--- a/custom/jao-custom-programming.el
+++ b/custom/jao-custom-programming.el
@@ -33,8 +33,12 @@
;;;; eglot
(use-package eglot
+ :init ;; (setq eglot-ignored-server-capabilites '(:inlayHintProvider))
+ (defun jao-eglot-managed-mode-hook ()
+ (flymake-mode -1)
+ (eglot-inlay-hints-mode -1))
:config
- (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
+ :hook (eglot--managed-mode . jao-eglot-managed-mode-hook)
:bind (:map eglot-mode-map (("C-h ." . jao-eldoc-toggle))))
;;;; paredit and parens