diff options
Diffstat (limited to 'emacs/.emacs.d/init')
-rw-r--r-- | emacs/.emacs.d/init/oni-css-mode-init.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/oni-css-mode-init.org b/emacs/.emacs.d/init/oni-css-mode-init.org new file mode 100644 index 0000000..9d92663 --- /dev/null +++ b/emacs/.emacs.d/init/oni-css-mode-init.org @@ -0,0 +1,16 @@ +#+TITLE: CSS + +scss-mode is based on css-mode, so any settings for css-mode also +automatically should work for scss-mode. + +Enable electric pairing. + +#+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook 'electric-pair-local-mode) +#+END_SRC + +Enable electric indenting. + +#+BEGIN_SRC emacs-lisp + (add-hook 'css-mode-hook 'electric-indent-local-mode) +#+END_SRC |