From b87e49711d09ea305218898e72146a6f467b3f76 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Thu, 3 Feb 2022 14:08:06 +0100 Subject: [PATCH] Emacs: Enable lsp-ui-doc in C++ --- .config/emacs/config.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 60d2cfb..5ffe337 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -707,6 +707,13 @@ Debug Adapter Protocol. **** C/C++ #+BEGIN_SRC emacs-lisp +(use-package c++-mode + :ensure nil + :defer t + :hook + (c++-mode . (lambda () + (setq lsp-ui-doc-enable t)))) + (use-package company-c-headers :after company :config (push 'company-c-headers company-backends))