From b2cf68380fe7cef9176c90d3daf9896181a1ea10 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 26 Aug 2026 02:33:23 -0700 Subject: [PATCH] Fix AHS --- init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 57afe9a..56c9f1e 100644 --- a/init.el +++ b/init.el @@ -1543,6 +1543,8 @@ With PROJECT, give diagnostics for all buffers in the current project." :custom (eglot-autoshutdown t) (eglot-ignored-server-capabilities '(:documentOnTypeFormattingProvider)) + :custom-face + (eglot-semantic-operator ((t (:inherit default)))) :init (defun my/eglot-if-trusted () (when (trusted-content-p) @@ -3903,7 +3905,11 @@ one of the normal rainbow-delimiters-depth-N-face faces." ahs-plugin-default-face 'bold ahs-plugin-default-face-unfocused 'bold) :config - (keymap-unset auto-highlight-symbol-mode-map "C-x C-a" t)) + (keymap-unset auto-highlight-symbol-mode-map "C-x C-a" t) + (defun my/-ahs-remove-help-echo (&rest _r) + "Remove the \\=help-echo property from ahs overlays." + (mapc (lambda (ov) (overlay-put ov 'help-echo nil)) ahs-current-overlay)) + (advice-add 'ahs-highlight-current-symbol :after #'my/-ahs-remove-help-echo)) ;; some AI stuff ;; completion