From c09577c4c8486ed8594b165a0f54a66db43d1e0d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 6 Jul 2018 15:54:07 -0700 Subject: [emacs] Consolidate all serializers format in one file. This is easier to maintain. Closes #6 --- emacs.d/config/fcuny-json.el | 11 ----------- emacs.d/config/fcuny-protobuf.el | 8 -------- emacs.d/config/fcuny-thrift.el | 10 ---------- emacs.d/config/fcuny-yaml.el | 9 --------- emacs.d/init.el | 4 +--- 5 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 emacs.d/config/fcuny-json.el delete mode 100644 emacs.d/config/fcuny-protobuf.el delete mode 100644 emacs.d/config/fcuny-thrift.el delete mode 100644 emacs.d/config/fcuny-yaml.el diff --git a/emacs.d/config/fcuny-json.el b/emacs.d/config/fcuny-json.el deleted file mode 100644 index 91c682b..0000000 --- a/emacs.d/config/fcuny-json.el +++ /dev/null @@ -1,11 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package json-mode - :ensure t - :config - (setq json-reformat:indent-width 2) - (if (fc/check-work-machine-p) - (add-to-list 'auto-mode-alist '("\\.workflow$" . json-mode)))) - -(provide 'fcuny-json) diff --git a/emacs.d/config/fcuny-protobuf.el b/emacs.d/config/fcuny-protobuf.el deleted file mode 100644 index a2dedb4..0000000 --- a/emacs.d/config/fcuny-protobuf.el +++ /dev/null @@ -1,8 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package protobuf-mode - :ensure t - :mode ("\\.proto$" . protobuf-mode)) - -(provide 'fcuny-protobuf) diff --git a/emacs.d/config/fcuny-thrift.el b/emacs.d/config/fcuny-thrift.el deleted file mode 100644 index 9bfa497..0000000 --- a/emacs.d/config/fcuny-thrift.el +++ /dev/null @@ -1,10 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package thrift - :ensure t - :mode ("\\.thrift\\'" . thrift-mode) - :config - (setq thrift-indent-level 2)) - -(provide 'fcuny-thrift) diff --git a/emacs.d/config/fcuny-yaml.el b/emacs.d/config/fcuny-yaml.el deleted file mode 100644 index 7d9ca87..0000000 --- a/emacs.d/config/fcuny-yaml.el +++ /dev/null @@ -1,9 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package yaml-mode - :ensure t -;; :hook (flycheck-mode) - :mode ("\\.ya?ml\\'" . yaml-mode)) - -(provide 'fcuny-yaml) diff --git a/emacs.d/init.el b/emacs.d/init.el index 664720f..572ad53 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -51,8 +51,6 @@ (use-package fcuny-make) (use-package fcuny-puppet) +(use-package fcuny-serializers) (use-package fcuny-docker) -(use-package fcuny-json) -(use-package fcuny-thrift) -(use-package fcuny-protobuf) (use-package fcuny-markdown) -- cgit 1.4.1