rust-ts-mode--indent-rules: Indent to 0 at top level
This commit is contained in:
parent
85705a7059
commit
d12727057d
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
||||||
|
|
||||||
(defvar rust-ts-mode--indent-rules
|
(defvar rust-ts-mode--indent-rules
|
||||||
`((rust
|
`((rust
|
||||||
|
((parent-is "source_file") point-min 0)
|
||||||
((node-is ")") parent-bol 0)
|
((node-is ")") parent-bol 0)
|
||||||
((node-is "]") parent-bol 0)
|
((node-is "]") parent-bol 0)
|
||||||
((node-is "}") (and parent parent-bol) 0)
|
((node-is "}") (and parent parent-bol) 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue