summary refs log tree commit diff
path: root/emacs.d/custom/fcuny-conf.el
blob: e97d055e9ad5a9ea36120a4ec7430c4e4d087d05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(use-package dockerfile-mode
  :ensure t
  :mode "Dockerfile[a-zA-Z.-]*\\'")

(use-package yaml-mode
  :ensure t)

(use-package js-mode
  :custom
  (json-reformat:indent-width 2)
  (js-indent-level 2)
  :hook ((json-mode . flyspell-prog-mode)
         (json-mode . flycheck-mode))
  :init
  (if (fcuny/check-work-machine-p)
    (add-to-list 'auto-mode-alist '("\\.workflow$" . js-mode))))

(use-package jq-format
  :ensure t)

(use-package protobuf-mode
  :ensure t
  :hook ((protobuf-mode . flyspell-prog-mode)
         (protobuf-mode . flycheck-mode)))

(provide 'fcuny-conf)