Skip to content

Commit

Permalink
fix(eglot-box): better integration with tab-bar and tool-bar
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 21, 2023
1 parent 7c0832e commit f43d7ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,15 @@ the children of class at point."
(use-package eldoc-box
:straight t
:hook (prog-mode . eldoc-box-hover-at-point-mode)
:hook (eglot-managed-mode . eldoc-box-hover-at-point-mode))
:hook (eglot-managed-mode . eldoc-box-hover-at-point-mode)
:hook ((tab-bar-mode tool-bar-mode) . +eldoc-box-hover-at-point-fix-h)
:config
;; HACK: Temporary fix for `eldoc-box-hover-at-point-mode' with `tab-bar-mode'
;; and `tool-bar-mode'.
(defun +eldoc-box-hover-at-point-fix-h ()
(when (bound-and-true-p eldoc-box-hover-at-point-mode)
(eldoc-box-hover-at-point-mode -1)
(eldoc-box-hover-at-point-mode 1))))

(use-package cov
:straight (:host github :repo "abougouffa/cov" :branch "feat/gcov-cmake")
Expand Down

0 comments on commit f43d7ff

Please sign in to comment.