From 680588aad191f8b9656e2313afc94c57c30edc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Tue, 22 Oct 2024 20:15:25 +0200 Subject: [PATCH] Home Gen373 @ 2024-10-22-20:15 --- modules/home/doom/static/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index 7f634ed..c51c9c8 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -136,6 +136,7 @@ (setq ccls-initialization-options '(:index (:comments 2) :completion (:detailedLabel t) :compilationDatabaseDirectory "build" :cache (:directory ".cache/ccls" :format "binary"))) (set-lsp-priority! 'ccls 1)) -(map! :desc "Show Doc-UI" "C-h" #'lsp-ui-doc-show) +(map! :map (cpp-mode-map c-mode-map c++-mode-map lsp-mode-map) + :desc "Show Doc-UI" :n "C-h" #'lsp-ui-doc-glance) (set-formatter! 'alejandra '("alejandra" "--quiet") :modes '(nix-mode))