summary refs log tree commit diff
path: root/config/init-json.el
diff options
context:
space:
mode:
Diffstat (limited to 'config/init-json.el')
-rw-r--r--config/init-json.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/init-json.el b/config/init-json.el
new file mode 100644
index 0000000..7f0cfcb
--- /dev/null
+++ b/config/init-json.el
@@ -0,0 +1,23 @@
+;;; init-json.el --- Configure JSON -*- lexical-binding: t -*-
+;; Author: Franck Cuny <franck@fcuny.net>
+
+;;; Commentary:
+
+;; configure json-mode and jq-mode
+
+;;; Code:
+
+(use-package json-mode
+  :mode "\\.json\\'")
+
+(use-package json-reformat
+  :ensure t
+  :after json-mode)
+
+(use-package jq-mode
+  :ensure t
+  :mode "\\.jq\\'")
+
+(provide 'init-json)
+
+;;; init-json.el ends here