diff --git a/templates/rust.eld b/templates/rust.eld index 9e2d846..11b1321 100644 --- a/templates/rust.eld +++ b/templates/rust.eld @@ -1,10 +1,10 @@ rust-mode rust-ts-mode -(if "if " p " {" n> q n> "}" q) +(if "if " p " {" n> q n "}" > q) -(el "if " p " {" n> p n> "} else {" n> p n> "}" q) +(el "if " p " {" n> p n "} else {" >n> p n "}" > q) -(elif "if " p " {" n> p n> "} else if " p " {" n> p n> "}" q) +(elif "if " p " {" n> p n "} else if " p " {" >n> p n "}" > q) (fn "fn " p "(" p ") {" n> p n "}" q) @@ -16,4 +16,4 @@ rust-mode rust-ts-mode (d "dbg!(" p ")" q) -(lp "loop {" n> q n> "}" q) +(lp "loop {" n> q n "}" > q)