[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars b8319cf7d4 237/431: add support for json-ts
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars b8319cf7d4 237/431: add support for json-ts-mode and json-mode |
Date: |
Mon, 16 Sep 2024 12:59:32 -0400 (EDT) |
branch: externals/indent-bars
commit b8319cf7d420b247152fdd00abfe1e18f240b5b0
Author: oxcl <oxcl@proton.me>
Commit: oxcl <oxcl@proton.me>
add support for json-ts-mode and json-mode
---
indent-bars.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/indent-bars.el b/indent-bars.el
index 33f049e433..91b38de439 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1129,6 +1129,10 @@ Adapted from `highlight-indentation-mode'."
tab-width)
((and (derived-mode-p 'nix-ts-mode) (boundp 'nix-ts-mode-indent-offset))
nix-ts-mode-indent-offset)
+ ((and (derived-mode-p 'json-ts-mode) (boundp 'json-ts-mode-indent-offset))
+ json-ts-mode-indent-offset)
+ ((and (derived-mode-p 'json-mode) (boundp 'js-indent-level))
+ js-indent-level)
((and (boundp 'standard-indent) standard-indent))
(t 4))) ; backup
- [elpa] externals/indent-bars f5d9426fe6 199/431: overhaul style-system: pass-by-arg, switch-after, style2, (continued)
- [elpa] externals/indent-bars f5d9426fe6 199/431: overhaul style-system: pass-by-arg, switch-after, style2, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9f2b7625b4 212/431: scope-update: reference correct timer, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 28cc7f4a82 216/431: Use "ts" alt style uniformly, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2889b50077 224/431: Always initialize style on scope init, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 230e3c8377 221/431: setup-and-remove: wrap in with-selected-frame, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 1b6e353634 225/431: Correctly track separate stipple face for each style, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 9740b6ff4a 227/431: Add min-lines support for scope, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 09dd1d6f75 209/431: Correct after-make-frame handling for daemon, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 226b6c2dd0 226/431: custom-inherit: correctly handle 'unspecified atoms, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars dbbd7fb1ed 218/431: Add (custom-inherit): Improve inheritance for partial plists, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars b8319cf7d4 237/431: add support for json-ts-mode and json-mode,
ELPA Syncer <=
- [elpa] externals/indent-bars 4ad704782a 233/431: Properly handle SWITCH-AFTER=0, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7acbd9124b 235/431: README: Acknowledgements, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 117121cbd6 230/431: Guard update-scope against non-mode buffers, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars cd463afdbc 223/431: Use union of old and new ranges, not symdiff, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 48646b1123 234/431: README: Acknowledgements, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2ee5157b41 244/431: Require 'subr-x for hash functions, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars e4d73d35a5 249/431: use indent-bars--tag in create-faces, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 470d99ddd1 262/431: Relocate remap local variables closer to usage, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 3279f93449 220/431: Do no 'reset faces on setup, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars bf1132775d 217/431: Require cus-edit for custom functionality, ELPA Syncer, 2024/09/16