summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2025-08-29 10:14:06 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2025-08-29 10:14:06 +0200
commitac89a8b04087921951755487dce0e8ea907f46cc (patch)
tree4700aaeec1e0533ae1b70ad347252a2a7af6e8b2 /.config/emacs
parent3fbee4372b9f796b12ccfc18223df2a722b4da5c (diff)
emacs: Add indent offsets for JSON
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/mm-editing.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index 0b9971f..c5844c0 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -56,6 +56,7 @@
(go-ts-mode . (:extras go-ts-mode-indent-offset))
(gsp-ts-mode . (:width 2 :extras gsp-ts-mode-indent-rules))
(helpful-mode . (:width 8)) ; GNU code uses 8-column tabs
+ (json-ts-mode . (:extras json-ts-mode-indent-offset))
(latex-mode . (:width 2))
(lisp-data-mode . (:spaces t))
(lisp-interaction-mode . (:spaces t))