diff options
Diffstat (limited to 'custom')
| -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 |
