[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yasnippet-snippets 488f148 2/4: fix: remove the final newl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yasnippet-snippets 488f148 2/4: fix: remove the final newline |
Date: |
Fri, 10 Sep 2021 16:57:52 -0400 (EDT) |
branch: elpa/yasnippet-snippets
commit 488f14838de6fd421d51180138a8459ad2e7b8f1
Author: dalu <moutong945@outlook.com>
Commit: dalu <moutong945@outlook.com>
fix: remove the final newline
---
snippets/cc-mode/do | 3 +--
snippets/cc-mode/file_description | 2 +-
snippets/cc-mode/for | 2 +-
snippets/cc-mode/for_n | 2 +-
4 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/snippets/cc-mode/do b/snippets/cc-mode/do
index 3132a31..d1bacf7 100644
--- a/snippets/cc-mode/do
+++ b/snippets/cc-mode/do
@@ -2,7 +2,6 @@
# name: do { ... } while (...)
# key: do
# --
-do
-{
+do {
$0
} while (${1:condition});
\ No newline at end of file
diff --git a/snippets/cc-mode/file_description
b/snippets/cc-mode/file_description
index 3478ebc..af7bbba 100644
--- a/snippets/cc-mode/file_description
+++ b/snippets/cc-mode/file_description
@@ -10,4 +10,4 @@
${3:*
* ${4:Detailed description}
*
-}*/
+}*/
\ No newline at end of file
diff --git a/snippets/cc-mode/for b/snippets/cc-mode/for
index 1b7be90..77cc9eb 100644
--- a/snippets/cc-mode/for
+++ b/snippets/cc-mode/for
@@ -4,4 +4,4 @@
# --
for (${1:i = 0}; ${2:i < N}; ${3:++i}) {
$0
-}
+}
\ No newline at end of file
diff --git a/snippets/cc-mode/for_n b/snippets/cc-mode/for_n
index 014d8ff..cd00cfe 100644
--- a/snippets/cc-mode/for_n
+++ b/snippets/cc-mode/for_n
@@ -5,4 +5,4 @@
# --
for (${1:auto }${2:i} = ${3:0}; $2 < ${4:MAXIMUM}; ++$2) {
$0
-}
+}
\ No newline at end of file