From: Randy Taylor Date: Sat, 11 Mar 2023 01:56:04 +0000 (-0500) Subject: Add missing indentation rule for rust-ts-mode (Bug#62109) X-Git-Tag: emacs-29.0.90~196 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5bc32d008fb1fa4dc3e08b7400f9d42f3e6bad6c;p=emacs.git Add missing indentation rule for rust-ts-mode (Bug#62109) * lisp/progmodes/rust-ts-mode.el (rust-ts-mode--indent-rules): Add missing rule. --- diff --git a/lisp/progmodes/rust-ts-mode.el b/lisp/progmodes/rust-ts-mode.el index 5a4f4dc25c0..be06acde3e3 100644 --- a/lisp/progmodes/rust-ts-mode.el +++ b/lisp/progmodes/rust-ts-mode.el @@ -91,6 +91,7 @@ ((parent-is "let_declaration") parent-bol rust-ts-mode-indent-offset) ((parent-is "macro_definition") parent-bol rust-ts-mode-indent-offset) ((parent-is "parameters") parent-bol rust-ts-mode-indent-offset) + ((parent-is "struct_pattern") parent-bol rust-ts-mode-indent-offset) ((parent-is "token_tree") parent-bol rust-ts-mode-indent-offset) ((parent-is "use_list") parent-bol rust-ts-mode-indent-offset))) "Tree-sitter indent rules for `rust-ts-mode'.")