From 8325ed164e62470bd645bf262009e6319874925a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 10 Aug 2020 12:40:02 +0100 Subject: +web mode variables Set offset to 2 for css and markup --- Emacs/.config/emacs/config.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 4911597..14e645e 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1088,8 +1088,11 @@ Firstly, web mode for consistent colouring of syntax. #+BEGIN_SRC emacs-lisp (use-package web-mode :mode ("\\.html" . web-mode) - :mode ("\\.js" . web-mode) - :mode ("\\.css" . web-mode)) + :mode ("\\.js" . web-mode) + :mode ("\\.css" . web-mode) + :custom + ((web-mode-markup-indent-offset 2) + (web-mode-css-indent-offset 2))) #+END_SRC Then emmet for super speed -- cgit v1.2.3-13-gbd6f