summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-10-27 16:49:53 +0100
committerGravatar Tom Willemse2014-10-27 16:49:53 +0100
commit3d8d38501fe4e72d46def5812b617eff407de16b (patch)
treef796549f99af7784ba501eb40fa18fbedb9c91e7 /emacs/.emacs.d/init.org
parent187e1d717487b640a34acdc6c983d7ea989c194b (diff)
downloaddotfiles-3d8d38501fe4e72d46def5812b617eff407de16b.tar.gz
dotfiles-3d8d38501fe4e72d46def5812b617eff407de16b.zip
Add automatic pairing to coffee-mode
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 6a726e2..eae1dda 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1035,6 +1035,14 @@
(add-hook 'enh-ruby-mode-hook #'oni:electric-pair-local-mode)
#+END_SRC
+* Coffee
+
+ - Autimatically match parentheses and other delimiters.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'coffee-mode-hook #'oni:electric-pair-local-mode)
+ #+END_SRC
+
* Load custom file
I don't really use the Emacs customization interface much, but I