[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yasnippet-snippets d42f3ed9a7 10/12: Merge pull request #4
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yasnippet-snippets d42f3ed9a7 10/12: Merge pull request #446 from jpalaciosdev/fix-rust-mode-indentation |
Date: |
Wed, 13 Jul 2022 08:59:23 -0400 (EDT) |
branch: elpa/yasnippet-snippets
commit d42f3ed9a738dd08ccef18d921132738eae42329
Merge: 9b4c2862de 3ba80dd191
Author: Andrea Crotti <andrea.crotti.0@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #446 from jpalaciosdev/fix-rust-mode-indentation
Use the standard indentation on rust-mode snippets
---
snippets/rust-mode/closure | 4 ++--
snippets/rust-mode/drop | 8 ++++----
snippets/rust-mode/enum | 4 ++--
snippets/rust-mode/fnr | 4 ++--
snippets/rust-mode/fnw | 4 ++--
snippets/rust-mode/from | 4 ++--
snippets/rust-mode/ife | 6 +++---
snippets/rust-mode/impl | 4 ++--
snippets/rust-mode/implt | 4 ++--
snippets/rust-mode/loop | 4 ++--
snippets/rust-mode/macro | 4 ++--
snippets/rust-mode/main | 4 ++--
snippets/rust-mode/match | 4 ++--
snippets/rust-mode/new | 4 ++--
snippets/rust-mode/pfnr | 4 ++--
snippets/rust-mode/pfnw | 4 ++--
snippets/rust-mode/spawn | 4 ++--
snippets/rust-mode/struct | 4 ++--
snippets/rust-mode/test | 4 ++--
snippets/rust-mode/testmod | 4 ++--
snippets/rust-mode/trait | 4 ++--
snippets/rust-mode/union | 4 ++--
snippets/rust-mode/while | 4 ++--
snippets/rust-mode/whilel | 4 ++--
24 files changed, 51 insertions(+), 51 deletions(-)
diff --git a/snippets/rust-mode/closure b/snippets/rust-mode/closure
index 82579836b0..1624d5700d 100644
--- a/snippets/rust-mode/closure
+++ b/snippets/rust-mode/closure
@@ -3,5 +3,5 @@
# key: ||
# --
|${1:arguments}| {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/drop b/snippets/rust-mode/drop
index 310d0ad047..ba23a5b0f1 100644
--- a/snippets/rust-mode/drop
+++ b/snippets/rust-mode/drop
@@ -3,7 +3,7 @@
# key: drop
# --
impl Drop for ${1:Type} {
- fn drop(&mut self) {
- $0
- }
-}
\ No newline at end of file
+ fn drop(&mut self) {
+ $0
+ }
+}
diff --git a/snippets/rust-mode/enum b/snippets/rust-mode/enum
index 058aadc187..acf919b872 100644
--- a/snippets/rust-mode/enum
+++ b/snippets/rust-mode/enum
@@ -3,5 +3,5 @@
# key: enum
# --
enum ${1:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/fnr b/snippets/rust-mode/fnr
index 4a4db71aad..fa98eb2019 100644
--- a/snippets/rust-mode/fnr
+++ b/snippets/rust-mode/fnr
@@ -3,5 +3,5 @@
# key: fnr
# --
fn ${1:name}($2) -> ${3:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/fnw b/snippets/rust-mode/fnw
index 77bee6e36e..321c29217e 100644
--- a/snippets/rust-mode/fnw
+++ b/snippets/rust-mode/fnw
@@ -3,5 +3,5 @@
# key: fnw
# --
fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/from b/snippets/rust-mode/from
index e04e7f0292..9e86209e3d 100644
--- a/snippets/rust-mode/from
+++ b/snippets/rust-mode/from
@@ -4,7 +4,7 @@
# --
impl From<${1:From}> for ${2:Type} {
fn from(source: $1) -> Self {
- $0
- Self { }
+ $0
+ Self { }
}
}
diff --git a/snippets/rust-mode/ife b/snippets/rust-mode/ife
index c738d4be6f..12f2b56e82 100644
--- a/snippets/rust-mode/ife
+++ b/snippets/rust-mode/ife
@@ -3,7 +3,7 @@
# key: ife
# --
if ${1:expression} {
- $0
+ $0
} else {
-
-}
\ No newline at end of file
+
+}
diff --git a/snippets/rust-mode/impl b/snippets/rust-mode/impl
index 2d90db91f1..14bb06f7c4 100644
--- a/snippets/rust-mode/impl
+++ b/snippets/rust-mode/impl
@@ -3,5 +3,5 @@
# key: impl
# --
impl ${1:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/implt b/snippets/rust-mode/implt
index 54269dfd30..0ed9b7dd54 100644
--- a/snippets/rust-mode/implt
+++ b/snippets/rust-mode/implt
@@ -3,5 +3,5 @@
# key: implt
# --
impl ${1:Trait} for ${2:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/loop b/snippets/rust-mode/loop
index 2285b7526c..e24ae616ad 100644
--- a/snippets/rust-mode/loop
+++ b/snippets/rust-mode/loop
@@ -3,5 +3,5 @@
# key: loop
# --
loop {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/macro b/snippets/rust-mode/macro
index b07f748964..410c1329bb 100644
--- a/snippets/rust-mode/macro
+++ b/snippets/rust-mode/macro
@@ -3,5 +3,5 @@
# key: macro
# --
macro_rules! ${1:name} {
- ($2) => ($3);
-}
\ No newline at end of file
+ ($2) => ($3);
+}
diff --git a/snippets/rust-mode/main b/snippets/rust-mode/main
index 75ae143c4d..3f9fe318ac 100644
--- a/snippets/rust-mode/main
+++ b/snippets/rust-mode/main
@@ -3,5 +3,5 @@
# key: main
# --
fn main() {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/match b/snippets/rust-mode/match
index 54b7c806c9..9dc802f113 100644
--- a/snippets/rust-mode/match
+++ b/snippets/rust-mode/match
@@ -3,5 +3,5 @@
# key: match
# --
match ${1:expression} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/new b/snippets/rust-mode/new
index 86d20e6c93..c5f21c13ae 100644
--- a/snippets/rust-mode/new
+++ b/snippets/rust-mode/new
@@ -3,5 +3,5 @@
# key: new
# --
pub fn new($1) -> ${2:Name} {
- $2 { ${3} }
-}
\ No newline at end of file
+ $2 { ${3} }
+}
diff --git a/snippets/rust-mode/pfnr b/snippets/rust-mode/pfnr
index e3490e2cd0..4fdd2610cc 100644
--- a/snippets/rust-mode/pfnr
+++ b/snippets/rust-mode/pfnr
@@ -3,5 +3,5 @@
# key: pfnr
# --
pub fn ${1:name}($2) -> ${3:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/pfnw b/snippets/rust-mode/pfnw
index 4ad59a0c14..c264400606 100644
--- a/snippets/rust-mode/pfnw
+++ b/snippets/rust-mode/pfnw
@@ -3,5 +3,5 @@
# key: pfnw
# --
pub fn ${1:name}<${2:T}>(${3:x: T}) where ${4:T: Clone} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/spawn b/snippets/rust-mode/spawn
index 4b44cccf91..c5b74456a5 100644
--- a/snippets/rust-mode/spawn
+++ b/snippets/rust-mode/spawn
@@ -3,5 +3,5 @@
# key: spawn
# --
spawn(proc() {
- $0
-});
\ No newline at end of file
+ $0
+});
diff --git a/snippets/rust-mode/struct b/snippets/rust-mode/struct
index 1c2e4c8cb3..7de2ffa772 100644
--- a/snippets/rust-mode/struct
+++ b/snippets/rust-mode/struct
@@ -3,5 +3,5 @@
# key: struct
# --
struct ${1:TypeName} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/test b/snippets/rust-mode/test
index c83d83d6df..26efca13ea 100644
--- a/snippets/rust-mode/test
+++ b/snippets/rust-mode/test
@@ -4,5 +4,5 @@
# --
#[test]
fn ${1:test_name}() {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/testmod b/snippets/rust-mode/testmod
index f0be987df7..d3494b702b 100644
--- a/snippets/rust-mode/testmod
+++ b/snippets/rust-mode/testmod
@@ -8,6 +8,6 @@ mod ${1:tests} {
#[test]
fn ${2:test_name}() {
- $0
+ $0
}
-}
\ No newline at end of file
+}
diff --git a/snippets/rust-mode/trait b/snippets/rust-mode/trait
index 15ab201260..724df7f5f6 100644
--- a/snippets/rust-mode/trait
+++ b/snippets/rust-mode/trait
@@ -3,5 +3,5 @@
# key: trait
# --
trait ${1:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/union b/snippets/rust-mode/union
index bfd93aaaad..92585a265e 100644
--- a/snippets/rust-mode/union
+++ b/snippets/rust-mode/union
@@ -3,5 +3,5 @@
# key: union
# --
union ${1:Type} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/while b/snippets/rust-mode/while
index 2fa221a958..dbb366391b 100644
--- a/snippets/rust-mode/while
+++ b/snippets/rust-mode/while
@@ -3,5 +3,5 @@
# key: while
# --
while ${1:expression} {
- $0
-}
\ No newline at end of file
+ $0
+}
diff --git a/snippets/rust-mode/whilel b/snippets/rust-mode/whilel
index 7f807e19c4..91370147da 100644
--- a/snippets/rust-mode/whilel
+++ b/snippets/rust-mode/whilel
@@ -3,5 +3,5 @@
# key: whilel
# --
while let ${1:pattern} = ${2:expression} {
- $0
-}
\ No newline at end of file
+ $0
+}
- [nongnu] elpa/yasnippet-snippets updated (c5bf4c4085 -> cd665c9cba), ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 3ba80dd191 02/12: Use the standard indentation on rust-mode snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets bd83517452 05/12: racket-mode: add syntax-rules snippet, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 9b4c2862de 09/12: Merge pull request #449 from follow-the-vine-to-get-to-the-melon/init-snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets d42f3ed9a7 10/12: Merge pull request #446 from jpalaciosdev/fix-rust-mode-indentation,
ELPA Syncer <=
- [nongnu] elpa/yasnippet-snippets 1ad99b341e 11/12: Merge pull request #444 from laampui/cta, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets cd665c9cba 12/12: Merge pull request #447 from xgqt/feature_racket_2022, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 31d8558f87 01/12: add cta => console.table(), ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets b5a76f1641 06/12: Ending parentheses of v.end(), ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets fb782284de 03/12: racket-mode: add module, module+ and module* snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 22c2bc0043 04/12: racket-mode: add define-syntax-rule snippet, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets 99b0be85e4 07/12: Fix: do NOT overwrite user snippets, ELPA Syncer, 2022/07/13
- [nongnu] elpa/yasnippet-snippets af2112e40c 08/12: Merge pull request #448 from aluaces/patch-1, ELPA Syncer, 2022/07/13