From d12727057d49df72df9da185e62e8a2caece249b Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 5 Feb 2023 18:19:04 +0200 Subject: [PATCH] rust-ts-mode--indent-rules: Indent to 0 at top level --- lisp/progmodes/rust-ts-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/rust-ts-mode.el b/lisp/progmodes/rust-ts-mode.el index e46fa0342dd..f7a8a97cc5a 100644 --- a/lisp/progmodes/rust-ts-mode.el +++ b/lisp/progmodes/rust-ts-mode.el @@ -69,6 +69,7 @@ (defvar rust-ts-mode--indent-rules `((rust + ((parent-is "source_file") point-min 0) ((node-is ")") parent-bol 0) ((node-is "]") parent-bol 0) ((node-is "}") (and parent parent-bol) 0) -- 2.39.5