branch: elpa/yasnippet-snippets commit 288497c46ca429c0f45a603e65727cf663961b0c Merge: 39e640c 488f148 Author: Andrea Crotti <andrea.crott...@gmail.com> Commit: GitHub <nore...@github.com>
Merge pull request #428 from dalugm/master 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