summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-07-06 15:54:07 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-07-06 15:54:07 -0700
commitc09577c4c8486ed8594b165a0f54a66db43d1e0d (patch)
tree9905c97d59ae3f67eb2e1e450ad81bab868c1b96
parent[emacs] Configure correctly python. (diff)
downloademacs.d-c09577c4c8486ed8594b165a0f54a66db43d1e0d.tar.gz
[emacs] Consolidate all serializers format in one file.
This is easier to maintain.

Closes #6
-rw-r--r--emacs.d/config/fcuny-json.el11
-rw-r--r--emacs.d/config/fcuny-protobuf.el8
-rw-r--r--emacs.d/config/fcuny-thrift.el10
-rw-r--r--emacs.d/config/fcuny-yaml.el9
-rw-r--r--emacs.d/init.el4
5 files changed, 1 insertions, 41 deletions
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)