From d0589949041f0dac0077c088e1b11f804b052906 Mon Sep 17 00:00:00 2001
From: hrvladev
Date: Thu, 26 Feb 2015 02:09:06 +0200
Subject: [PATCH] Add haml-mode and slim-mode
Spacemacs is missing support for the Haml and Slim template
languages.
This commits adds haml-mode and slim-mode to support them.
---
contrib/lang/html/packages.el | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/contrib/lang/html/packages.el b/contrib/lang/html/packages.el
index 68b06d293..e74e3e596 100644
--- a/contrib/lang/html/packages.el
+++ b/contrib/lang/html/packages.el
@@ -21,6 +21,8 @@
tagedit
web-mode
yasnippet
+ haml-mode
+ slim-mode
)
"List of all packages to install and/or initialize. Built-in packages
which require an initialization must be listed explicitly in the list.")
@@ -86,3 +88,11 @@ which require an initialization must be listed explicitly in the list.")
:defer t
:init
(add-hook 'css-mode-hook 'spacemacs/load-yasnippet)))
+
+(defun html/init-haml-mode ()
+ (use-package haml-mode
+ :defer t))
+
+(defun html/init-slim-mode ()
+ (use-package slim-mode
+ :defer t))