From 3be3a63b5fed5181bc035792f6bb411dba49ed32 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Tue, 28 Apr 2020 09:14:13 -0700 Subject: [PATCH] Add rtags packages and some helpers for c/c++ --- dotfiles/emacs.d/init.el | 5 ++++- dotfiles/emacs.d/package.el | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 89ccff2..970024f 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -101,9 +101,10 @@ There are two things you can do about this warning: (filename . ".hpp") (filename . ".h") (filename . ".java") + (filename . ".py") + (filename . ".lisp") (filename . ".properties") (filename . ".gradle") - (filename . ".py") (filename . ".am") (mode . yaml-mode)) ) @@ -179,6 +180,8 @@ There are two things you can do about this warning: (setq inferior-lisp-program "sbcl") (setq slime-contribs '(slime-fancy)) +;; Enable semantic for language-aware editing commands +(setq semantic-mode 't) ;;-------------------------------------------------------------------------------------- ;; Save hooks diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index f1d70f8..8975108 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -18,6 +18,7 @@ irony counsel swiper + ;;;;;;;;;;;;;;;;;;;;;;;; ;; Programming modes @@ -66,10 +67,13 @@ ;; Project Interaction/Search/Syntax flycheck flycheck-pos-tip + flycheck-rtags grizzl smex projectile counsel-gtags + rtags + company-rtags ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; )