aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2018-05-06 23:16:55 -0700
committerGravatar Tom Willemse2018-05-06 23:16:55 -0700
commit3dfa39bffb4ba3817df64475062ccd1f4ecff735 (patch)
treef450cf463e691d3191e144b9132525caae9295cb
parent1710d2f7eef7f734f216229dc72f80071c7b8a4f (diff)
downloadnew-dotfiles-3dfa39bffb4ba3817df64475062ccd1f4ecff735.tar.gz
new-dotfiles-3dfa39bffb4ba3817df64475062ccd1f4ecff735.zip
Enable Fill Column Indicator in JS2 mode
-rw-r--r--emacs/.emacs.d/init.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 95e2669..fde7e4c 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1225,6 +1225,13 @@ Computing Environment".
(add-hook 'js2-mode-hook 'company-mode)
#+END_SRC
+ Enable Fill Column Indicator mode to remind me where not to let the
+ code go past.
+
+ #+BEGIN_SRC emacs-lisp
+ (add-hook 'js2-mode-hook 'fci-mode)
+ #+END_SRC
+
** HTML mode
Enable electric pairing so I don't have to worry about closing =<=