Add support yaml-mode

This commit is contained in:
Jesús 2018-08-31 21:02:39 -05:00
parent f18582dfd2
commit 300d7e70f6
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
'(anzu-search-threshold 1000) '(anzu-search-threshold 1000)
'(package-selected-packages '(package-selected-packages
(quote (quote
(editorconfig whitespace-cleanup-mode rainbow-mode 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)))) (yaml-mode editorconfig whitespace-cleanup-mode rainbow-mode 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

@ -47,6 +47,7 @@
(require 'init-less) (require 'init-less)
(require 'init-sass) (require 'init-sass)
(require 'init-scss) (require 'init-scss)
(require 'init-yaml)
;; Plus ;; Plus
(require 'init-rainbow) (require 'init-rainbow)

4
lisp/init-yaml.el Normal file
View File

@ -0,0 +1,4 @@
;; yaml-mode
(require-package 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
(provide 'init-yaml)