diff options
| author | Dmitry Gutov | 2023-02-05 18:19:04 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2023-02-05 18:50:23 +0200 |
| commit | d12727057d49df72df9da185e62e8a2caece249b (patch) | |
| tree | 3ef76b7793889b39e2d4d3f79bd363385ee6c83f | |
| parent | 85705a7059f33e43b2395552beb9a01d32d76a5e (diff) | |
| download | emacs-d12727057d49df72df9da185e62e8a2caece249b.tar.gz emacs-d12727057d49df72df9da185e62e8a2caece249b.zip | |
rust-ts-mode--indent-rules: Indent to 0 at top level
| -rw-r--r-- | lisp/progmodes/rust-ts-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
| 69 | 69 | ||
| 70 | (defvar rust-ts-mode--indent-rules | 70 | (defvar rust-ts-mode--indent-rules |
| 71 | `((rust | 71 | `((rust |
| 72 | ((parent-is "source_file") point-min 0) | ||
| 72 | ((node-is ")") parent-bol 0) | 73 | ((node-is ")") parent-bol 0) |
| 73 | ((node-is "]") parent-bol 0) | 74 | ((node-is "]") parent-bol 0) |
| 74 | ((node-is "}") (and parent parent-bol) 0) | 75 | ((node-is "}") (and parent parent-bol) 0) |