diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-03-15 19:16:51 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-03-15 19:16:51 -0700 |
commit | 0e412e54873b6dd494921855dd93c3a56d56b260 (patch) | |
tree | 9f3445ea71ef7489ccde811e9d4a6063e836ca93 /emacs.d/custom/fcuny-conf.el | |
parent | emacs: consolidate basic configuration (diff) | |
download | emacs.d-0e412e54873b6dd494921855dd93c3a56d56b260.tar.gz |
emacs: consolidate configuration for conf-mode
Diffstat (limited to 'emacs.d/custom/fcuny-conf.el')
-rw-r--r-- | emacs.d/custom/fcuny-conf.el | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/emacs.d/custom/fcuny-conf.el b/emacs.d/custom/fcuny-conf.el new file mode 100644 index 0000000..e97d055 --- /dev/null +++ b/emacs.d/custom/fcuny-conf.el @@ -0,0 +1,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) |