Permalink
Browse files

Add web-mode

  • Loading branch information...
1 parent 86cd6df commit 2434bddeaa70291cd34653c112451e61d3aaf863 @bartvandendriessche committed Jan 27, 2014
Showing with 4 additions and 1 deletion.
  1. +4 −1 settings/settings-programming.el
@@ -9,7 +9,10 @@
(global-git-gutter-mode +1)
(set-face-foreground 'git-gutter:modified "purple")
(set-face-foreground 'git-gutter:added "green")
- (set-face-foreground 'git-gutter:deleted "red"))))))
+ (set-face-foreground 'git-gutter:deleted "red")))
+ (:name web-mode :type :elpa :after (progn
+ (setq web-mode-markup-indent-offset 4)
+ (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)))))))
(add-to-list 'auto-mode-alist '("\\.zsh$" . shell-script-mode))
(add-to-list 'auto-mode-alist '("\\.zsh-theme$" . shell-script-mode)))

0 comments on commit 2434bdd

Please sign in to comment.