From 9619e54ff51596e6c85f228e7e4bf4e85e179cc7 Mon Sep 17 00:00:00 2001 From: johannst Date: Sun, 11 Apr 2021 17:59:53 +0200 Subject: emacs: add ivy-xref + c/cpp auto-enable lsp --- emacs.el | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'emacs.el') diff --git a/emacs.el b/emacs.el index b12a4bd..ff66b68 100644 --- a/emacs.el +++ b/emacs.el @@ -102,6 +102,12 @@ ; :ensure t ; ) + +;; ivy-xref +(use-package ivy-xref + :ensure t + ) + ;; magit (use-package magit :ensure t @@ -116,6 +122,10 @@ lsp-rust-analyzer-display-chaining-hints t lsp-rust-analyzer-display-parameter-hints t ) + :hook ( + (c-mode . lsp) + (c++-mode . lsp) + ) ) ;; lsp ui -- cgit v1.2.3