From c72168099b704701335e50ecfa02742d0ad93369 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 23 Sep 2015 14:36:13 +0200 Subject: Add robe customizations --- emacs/.emacs.d/init.org | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 7ac205c..8dbc0e2 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -631,6 +631,28 @@ (kill-buffer (current-buffer))) #+END_SRC +* Minor mode customization + + Many minor modes also offer a bit of customization possibilities. + +** Robe + + #+BEGIN_SRC emacs-lisp :tangle no + (depends-on "robe") + #+END_SRC + + Robe is a Ruby completion and documentation lookup library. + +*** Adding completions to autocomplete + + To add Robe completions to autocomplete whenever robe is started, + I use the =robe-mode-hook= to enable this so that it doesn't try to + get any completions when robe isn't running. + + #+BEGIN_SRC emacs-lisp + (add-hook 'robe-mode-hook #'ac-robe-setup) + #+END_SRC + * Some general-purpose functions and macros A configuration as big as mine is bound to have some functions and -- cgit v1.2.3-54-g00ecf