Add robe customizations
This commit is contained in:
parent
85fe9b1ab3
commit
c72168099b
1 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue