aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-08-10 12:40:02 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-08-10 12:40:02 +0100
commit8325ed164e62470bd645bf262009e6319874925a (patch)
tree8a0c8f4657bdc3b47be39bdade2567d137029ed7 /Emacs/.config/emacs/config.org
parentef4901313198b40640e6f7493d56a2f81d22b2c5 (diff)
downloaddotfiles-8325ed164e62470bd645bf262009e6319874925a.tar.gz
dotfiles-8325ed164e62470bd645bf262009e6319874925a.tar.bz2
dotfiles-8325ed164e62470bd645bf262009e6319874925a.zip
+web mode variables
Set offset to 2 for css and markup
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org7
1 files changed, 5 insertions, 2 deletions
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