Move vala-mode and yaml-mode configuration to use-package
This commit is contained in:
parent
399be48338
commit
598ce014f1
11
init.el
11
init.el
@ -405,8 +405,16 @@
|
|||||||
:init
|
:init
|
||||||
(setq-default sml/theme 'powerline))
|
(setq-default sml/theme 'powerline))
|
||||||
|
|
||||||
|
(use-package vala-mode
|
||||||
|
:init
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.vala\\'" . vala-mode)))
|
||||||
|
|
||||||
(use-package xlicense)
|
(use-package xlicense)
|
||||||
|
|
||||||
|
(use-package yaml-mode
|
||||||
|
:init
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)))
|
||||||
|
|
||||||
;; Load my own functions
|
;; Load my own functions
|
||||||
(load "gnu-c-header.el")
|
(load "gnu-c-header.el")
|
||||||
(load "toggle-window-split.el")
|
(load "toggle-window-split.el")
|
||||||
@ -520,9 +528,6 @@
|
|||||||
;; Stuff to do after initialization is done
|
;; Stuff to do after initialization is done
|
||||||
|
|
||||||
;; TODO: Unordered stuff
|
;; TODO: Unordered stuff
|
||||||
(add-to-list 'auto-mode-alist '("\\.vala\\'" . vala-mode))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.erl\\'" . erlang-mode))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
|
||||||
|
|
||||||
; Temporary show line numbers while in the goto minibuffer. Copied
|
; Temporary show line numbers while in the goto minibuffer. Copied
|
||||||
; from http://whattheemacsd.com/key-bindings.el-01.html
|
; from http://whattheemacsd.com/key-bindings.el-01.html
|
||||||
|
Loading…
Reference in New Issue
Block a user