branch: externals/indent-bars
commit 6f886f89c44ee29d210ec299becc4f20c3b55e30
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>

    Support go-mode in addition to go-ts-mode
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index ae733edad7..139623a4f1 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -1054,7 +1054,7 @@ Adapted from `highlight-indentation-mode'."
     elixir-smie-indent-basic)
    ((and (derived-mode-p 'lisp-data-mode) (boundp 'lisp-body-indent))
     lisp-body-indent)
-   ((derived-mode-p 'go-ts-mode) tab-width)
+   ((or (derived-mode-p 'go-ts-mode) (derived-mode-p 'go-mode)) tab-width)
    ((and (boundp 'standard-indent) standard-indent))
    (t 4)))                             ; backup
 

Reply via email to