From 83907268354c6ff40ec6e56778fb2e17c2be3985 Mon Sep 17 00:00:00 2001 From: Vitalii Drevenchuk <4005032+Crandel@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:05:30 +0200 Subject: [PATCH] Fix indent for rust templates --- templates/rust.eld | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)