branch: externals/indent-bars commit 810dbd900247af2c6ae19b36690a2abdf06367c1 Merge: 30b47adfaa d9cc0bafd1 Author: JD Smith <93749+jdtsm...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Merge pull request #109 from kurnevsky/new-modes Add scala and rust ts modes. --- indent-bars.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indent-bars.el b/indent-bars.el index 3ce68052f2..8a1c2e1236 100644 --- a/indent-bars.el +++ b/indent-bars.el @@ -1596,6 +1596,10 @@ Adapted from `highlight-indentation-mode'." scala-indent:step) ((and (derived-mode-p 'scala-mode) (boundp 'scala-mode-indent:step)) scala-mode-indent:step) + ((and (derived-mode-p 'scala-ts-mode) (boundp 'scala-ts-indent-offset)) + scala-ts-indent-offset) + ((and (derived-mode-p 'rust-ts-mode) (boundp 'rust-ts-mode-indent-offset)) + rust-ts-mode-indent-offset) ((and (or (derived-mode-p 'scss-mode) (derived-mode-p 'css-mode)) (boundp 'css-indent-offset)) css-indent-offset)