[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/indent-bars 6f6915dec4 411/431: Add Ada and GPR support
From: |
ELPA Syncer |
Subject: |
[elpa] externals/indent-bars 6f6915dec4 411/431: Add Ada and GPR support. |
Date: |
Mon, 16 Sep 2024 12:59:55 -0400 (EDT) |
branch: externals/indent-bars
commit 6f6915dec46635d77516ed9200eb9e47fcb143c4
Author: Troy Brown <brownts@troybrown.dev>
Commit: Troy Brown <brownts@troybrown.dev>
Add Ada and GPR support.
---
indent-bars.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/indent-bars.el b/indent-bars.el
index 105c292354..5d766b9c41 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1509,6 +1509,14 @@ WIN defaults to the selected window. To be set as a
local
Adapted from `highlight-indentation-mode'."
(cond
(indent-bars-spacing-override)
+ ((and (derived-mode-p 'ada-mode) (boundp 'ada-indent))
+ ada-indent)
+ ((and (derived-mode-p 'ada-ts-mode) (boundp 'ada-ts-mode-indent-offset))
+ ada-ts-mode-indent-offset)
+ ((and (derived-mode-p 'gpr-mode) (boundp 'gpr-indent))
+ gpr-indent)
+ ((and (derived-mode-p 'gpr-ts-mode) (boundp 'gpr-ts-mode-indent-offset))
+ gpr-ts-mode-indent-offset)
((and (derived-mode-p 'python-mode) (boundp 'py-indent-offset))
py-indent-offset)
((and (derived-mode-p 'python-mode) (boundp 'python-indent-offset))
- [elpa] externals/indent-bars e9443e68c1 371/431: README: version update and footnote for in-scope, (continued)
- [elpa] externals/indent-bars e9443e68c1 371/431: README: version update and footnote for in-scope, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 2ca5192273 372/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars b433467d57 376/431: Update README.md, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars e693dd5239 409/431: teardown: avoid buffer modification, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7cf880d7cd 391/431: Reduce default bar blend, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 075e1b3ccc 400/431: ts: fix font-lock-fontify-buffer-function save logic, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars eca496b2db 392/431: improve commentary, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars dc44a8e889 404/431: Merge branch 'main' into dev, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars fc8f492364 397/431: indent-bars-ts: improve commentary, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 86835d8faa 402/431: ts--context-fontify: use with-silent-modifications, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6f6915dec4 411/431: Add Ada and GPR support.,
ELPA Syncer <=
- [elpa] externals/indent-bars ebf1c637e8 425/431: Implement indent-bars.el suggestions for inclusion in ELPA, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars ceb3dd1e31 418/431: guess-spacing: add typescript-ts-mode support, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 188d8540bf 395/431: Update ts--context-fontify to work in all buffers, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 7c7a7a7a10 423/431: improve commentary, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 6868e36bea 417/431: Protect against no wrap context node, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars f926ed81ae 424/431: Bump version and mention what's new, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars aac2e73b00 428/431: Merge pull request #57 from paaguti/main, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars c2240b7f10 001/431: Initial commit, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 0de108e783 017/431: improve setup/teardown and add reset command, ELPA Syncer, 2024/09/16
- [elpa] externals/indent-bars 940a56c434 016/431: Use 'face instead of 'font-lock-face, ELPA Syncer, 2024/09/16