diff options
| author | Franck Cuny <franck@fcuny.net> | 2021-01-04 19:52:04 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2021-01-04 19:52:04 -0800 |
| commit | 88ab401adc83bea6e1f571c54093dbc7f521e080 (patch) | |
| tree | e2ae9336119ee36707b0e76a6592f4fc8503a4ef /emacs/custom/fcuny-conf.el | |
| parent | git: store configuration under XDG_CONFIG_HOME (diff) | |
| download | emacs.d-88ab401adc83bea6e1f571c54093dbc7f521e080.tar.gz | |
emacs: rename the directory
Diffstat (limited to 'emacs/custom/fcuny-conf.el')
| -rw-r--r-- | emacs/custom/fcuny-conf.el | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/emacs/custom/fcuny-conf.el b/emacs/custom/fcuny-conf.el new file mode 100644 index 0000000..97d1d1f --- /dev/null +++ b/emacs/custom/fcuny-conf.el @@ -0,0 +1,32 @@ +(use-package dockerfile-mode + :ensure t + :mode "Dockerfile[a-zA-Z.-]*\\'") + +(use-package yaml-mode + ;; At Twitter, we use PROJECT files to define a project and the + ;; format is YAML + :mode (("PROJECT" . 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))) + +(use-package systemd + :ensure t) + +(provide 'fcuny-conf) |
