From e6ca78b611e06181adff31d1f8767e88b87c14d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 23 Oct 2024 13:30:19 +0200 Subject: [PATCH] Home Gen376 @ 2024-10-23-13:30 --- modules/home/doom/static/config.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index 483e00e..258c99e 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -139,7 +139,7 @@ (defun my-ui-doc-glance-then-focus () "Glances UI-Doc if not present, otherwise focus" (interactive) - (if lsp-ui-doc--bounds + (if (lsp-ui-doc--frame-visible-p) (progn (lsp-ui-doc-hide) (lsp-ui-doc-show) @@ -149,7 +149,4 @@ (map! :map (cpp-mode-map c-mode-map c++-mode-map lsp-mode-map) :desc "Show Doc-UI" :n "C-h" #'my-ui-doc-glance-then-focus) - -;; Bind C-h to the handler function -(map! "C-h" #'my-c-h-handler) (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode))