diff options
| author | jao <jao@gnu.org> | 2025-11-27 12:01:07 +0000 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2025-11-27 12:01:07 +0000 |
| commit | 2069756845c032eed984f74432b6339172ca759a (patch) | |
| tree | a1bc728d235cea9b53aff8867e93e17659404233 | |
| parent | 466cac11553f585b78690f39ff72fe7127fec7a1 (diff) | |
| download | elibs-2069756845c032eed984f74432b6339172ca759a.tar.gz elibs-2069756845c032eed984f74432b6339172ca759a.tar.bz2 | |
eglot: disabling annoying inline hints
| -rw-r--r-- | custom/jao-custom-programming.el | 6 |
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 |
