aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--custom.el3
-rw-r--r--init.el3
-rw-r--r--lisp/init-less.el7
-rw-r--r--lisp/init-sass.el7
-rw-r--r--lisp/init-scss.el8
5 files changed, 27 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index 8e28b49..28cdeb2 100644
--- a/custom.el
+++ b/custom.el
@@ -1,3 +1,4 @@
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@@ -10,7 +11,7 @@
'(anzu-search-threshold 1000)
'(package-selected-packages
(quote
- (ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes))))
+ (scss-mode sass-mode less-css-mode ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
diff --git a/init.el b/init.el
index 6002c39..151c5c0 100644
--- a/init.el
+++ b/init.el
@@ -40,6 +40,9 @@
(require 'init-markdown)
(require 'init-pkgbuild)
(require 'init-php)
+(require 'init-less)
+(require 'init-sass)
+(require 'init-scss)
;;; Loads custom file
(when (file-exists-p custom-file)
diff --git a/lisp/init-less.el b/lisp/init-less.el
new file mode 100644
index 0000000..5245e5f
--- /dev/null
+++ b/lisp/init-less.el
@@ -0,0 +1,7 @@
+;;----------------------------------------------------------------------------
+;; Less Mode
+;;----------------------------------------------------------------------------
+(require-package 'less-css-mode)
+(add-to-list 'auto-mode-alist '("\\.less$" . less-css-mode))
+
+(provide 'init-less)
diff --git a/lisp/init-sass.el b/lisp/init-sass.el
new file mode 100644
index 0000000..022668c
--- /dev/null
+++ b/lisp/init-sass.el
@@ -0,0 +1,7 @@
+;;----------------------------------------------------------------------------
+;; Sass Mode
+;;----------------------------------------------------------------------------
+(require-package 'sass-mode)
+(add-to-list 'auto-mode-alist '("\\.sass\\'" . sass-mode))
+
+(provide 'init-sass)
diff --git a/lisp/init-scss.el b/lisp/init-scss.el
new file mode 100644
index 0000000..2ec96d5
--- /dev/null
+++ b/lisp/init-scss.el
@@ -0,0 +1,8 @@
+;;----------------------------------------------------------------------------
+;; Scss Mode
+;;----------------------------------------------------------------------------
+(require-package 'scss-mode)
+
+(add-to-list 'auto-mode-alist '("\\.scss\\'" . scss-mode))
+
+(provide 'init-scss)