summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-04-11 17:59:53 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-04-11 17:59:53 +0200
commit9619e54ff51596e6c85f228e7e4bf4e85e179cc7 (patch)
tree9df5e078c0fabf17d387a2181b3cb4fa8d327376 /emacs.el
parente27d737e45ff07ebab8d42f19e7171cf344b5ed1 (diff)
downloaddotfiles-9619e54ff51596e6c85f228e7e4bf4e85e179cc7.tar.gz
dotfiles-9619e54ff51596e6c85f228e7e4bf4e85e179cc7.zip
emacs: add ivy-xref + c/cpp auto-enable lsp
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el10
1 files changed, 10 insertions, 0 deletions
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