From 29a89c07ec95dfcfa7720d2d3d9fa63b655e7229 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 17 Oct 2016 03:36:54 +0200 Subject: Enable electric pairing in (S)CSS buffers --- emacs/.emacs.d/init.org | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'emacs/.emacs.d/init.org') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index e0370bd..5b83670 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -716,6 +716,12 @@ To start off, first I need to enable lexical binding. (with-eval-after-load 'sh-mode (load "oni-sh-mode-init")) #+END_SRC + - [[file:init/oni-css-mode-init.org][css-mode]] :: CSS and SCSS mode are used for stylesheets! + + #+BEGIN_SRC emacs-lisp + (with-eval-after-load 'css-mode (load "oni-css-mode-init")) + #+END_SRC + ** Emacs lisp mode Enable paredit mode. @@ -843,14 +849,6 @@ To start off, first I need to enable lexical binding. (add-hook 'makefile-mode-hook 'electric-pair-local-mode) #+END_SRC -** CSS mode - - Enable electric indent mode. - - #+BEGIN_SRC emacs-lisp - (add-hook 'css-mode-hook 'electric-indent-local-mode) - #+END_SRC - ** Clojure mode Install extra font-locking for clojure. -- cgit v1.2.3-54-g00ecf