Browse Source

Emacs: Enable lsp-ui-doc in C++

master
Riyyi 3 years ago
parent
commit
b87e49711d
  1. 7
      .config/emacs/config.org

7
.config/emacs/config.org

@ -707,6 +707,13 @@ Debug Adapter Protocol.
**** C/C++ **** C/C++
#+BEGIN_SRC emacs-lisp #+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 (use-package company-c-headers
:after company :after company
:config (push 'company-c-headers company-backends)) :config (push 'company-c-headers company-backends))

Loading…
Cancel
Save