From: Dmitry Gutov Date: Sun, 5 Feb 2023 16:19:04 +0000 (+0200) Subject: rust-ts-mode--indent-rules: Indent to 0 at top level X-Git-Tag: emacs-29.0.90~500 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d12727057d4;p=emacs.git rust-ts-mode--indent-rules: Indent to 0 at top level --- 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)