Add docker config

This commit is contained in:
Wojciech Kozlowski 2018-01-30 21:57:17 +00:00
parent f17ce0e065
commit fc54efbd76

View File

@ -20,6 +20,7 @@
'(company '(company
company-c-headers company-c-headers
dockerfile-mode
fic-mode fic-mode
function-args function-args
flycheck flycheck
@ -35,6 +36,7 @@
swiper swiper
toml-mode toml-mode
vala-mode vala-mode
yaml-mode
yasnippet yasnippet
s s
@ -98,6 +100,13 @@
(add-hook 'function-args-mode-hook #'set-function-args-keys)) (add-hook 'function-args-mode-hook #'set-function-args-keys))
;; --------------------------------------------------------------------------
;; Configure dockerfile environment.
;; --------------------------------------------------------------------------
(use-package dockerfile-mode
:defer t)
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
;; FIC mode. ;; FIC mode.
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
@ -231,6 +240,15 @@
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8)) (add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))) (add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8)))
;; --------------------------------------------------------------------------
;; Configure yaml environment.
;; --------------------------------------------------------------------------
(use-package yaml-mode
:defer t
:config
(add-hook 'yaml-mode-hook #'linum-mode))
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------
;; Enable yasnippet. ;; Enable yasnippet.
;; -------------------------------------------------------------------------- ;; --------------------------------------------------------------------------