Added support less, sass, scss

This commit is contained in:
Jesús 2018-08-07 22:27:58 -05:00
parent af69d71696
commit 157bc796d1
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
5 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,4 @@
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -10,7 +11,7 @@
'(anzu-search-threshold 1000) '(anzu-search-threshold 1000)
'(package-selected-packages '(package-selected-packages
(quote (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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -40,6 +40,9 @@
(require 'init-markdown) (require 'init-markdown)
(require 'init-pkgbuild) (require 'init-pkgbuild)
(require 'init-php) (require 'init-php)
(require 'init-less)
(require 'init-sass)
(require 'init-scss)
;;; Loads custom file ;;; Loads custom file
(when (file-exists-p custom-file) (when (file-exists-p custom-file)

7
lisp/init-less.el Normal file
View File

@ -0,0 +1,7 @@
;;----------------------------------------------------------------------------
;; Less Mode
;;----------------------------------------------------------------------------
(require-package 'less-css-mode)
(add-to-list 'auto-mode-alist '("\\.less$" . less-css-mode))
(provide 'init-less)

7
lisp/init-sass.el Normal file
View File

@ -0,0 +1,7 @@
;;----------------------------------------------------------------------------
;; Sass Mode
;;----------------------------------------------------------------------------
(require-package 'sass-mode)
(add-to-list 'auto-mode-alist '("\\.sass\\'" . sass-mode))
(provide 'init-sass)

8
lisp/init-scss.el Normal file
View File

@ -0,0 +1,8 @@
;;----------------------------------------------------------------------------
;; Scss Mode
;;----------------------------------------------------------------------------
(require-package 'scss-mode)
(add-to-list 'auto-mode-alist '("\\.scss\\'" . scss-mode))
(provide 'init-scss)