Skip to content

Commit 1f7abb3

Browse files
committed
Fix snippet indentation and syntax
1 parent 06f8fdc commit 1f7abb3

File tree

6 files changed

+16
-19
lines changed

6 files changed

+16
-19
lines changed

neosnippets/ada.snip

+9-9
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ snippet package
77
abbr package {NAME} is {...} end
88
options head
99
package ${1} is
10-
${0}
11-
end $1;
10+
${0}
11+
end $1;
1212

1313

1414
snippet package_body
1515
abbr package body {NAME} is {...} end
1616
options head
1717
package body ${1} is
18-
${0}
18+
${0}
1919
end $1;
2020

2121
snippet entry
@@ -271,34 +271,34 @@ snippet exit_when
271271
abbr exit when
272272
options head
273273
exit when ${1};
274-
${0}
274+
${0}
275275

276276
snippet put
277277
abbr Ada.Text_IO.Put
278278
options head
279279
Ada.Text_IO.Put(${1});
280-
${0}
280+
${0}
281281

282282
snippet put_line
283283
abbr Ada.Text_IO.Put_Line
284284
options head
285285
Ada.Text_IO.Put_Line(${1});
286-
${0}
286+
${0}
287287

288288
snippet get
289289
abbr Ada.Text_IO.Get
290290
options head
291291
Ada.Text_IO.Get(${1});
292-
${0}
292+
${0}
293293

294294
snippet get_line
295295
abbr Ada.Text_IO.Get_Line
296296
options head
297297
Ada.Text_IO.Get_Line(${1});
298-
${0}
298+
${0}
299299

300300
snippet newline
301301
abbr Ada.Text_IO.New_Line
302302
options head
303303
Ada.Text_IO.New_Line(${1:1});
304-
${0}
304+
${0}

neosnippets/cpp.snip

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ abbr static_assert(,"")
6868
static_assert( ${1}, "${2}" );${0}
6969

7070
delete namespace
71-
options head
7271
snippet namespace
7372
abbr namespace {}
73+
options head
7474
namespace ${1:#:name} {
7575
${0:TARGET}
7676
} // namespace $1

neosnippets/erlang.snip

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
snippet helloworld
22
options head
3-
4-
53
main(_) -> io:format("Hello, world!\n").
64

75
snippet -module

neosnippets/php.snip

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ abbr function () {}
1515
snippet php
1616
<?php
1717
${1:TARGET}
18-
/* End of file ${2:filename}.php */
18+
/* End of file ${2:filename}.php */
1919

2020
snippet pecho
2121
<?php echo ${1} ?>${0}

neosnippets/rst.snip

+2-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ snippet code_block
6161
abbr code
6262
options head
6363
.. code-block:: ${1:#:filetype}
64-
65-
${2:#:content}
64+
65+
${2:#:content}
6666

6767
snippet link_raw
6868
abbr link_as_raw
@@ -102,7 +102,6 @@ options head
102102

103103
snippet nested_list
104104
options head
105-
106105
- ${1:#:text}
107106
-
108107
-

neosnippets/twig.snip

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ options head
1616
snippet dump
1717
abbr <pre> {{ dump(...) }} </pre>
1818
options head
19-
<pre>
20-
{{ dump(${0:TARGET}) }}
21-
</pre>
19+
<pre>
20+
{{ dump(${0:TARGET}) }}
21+
</pre>
2222

2323
snippet embed
2424
abbr {% embed ... %} ... {% endembed %}

0 commit comments

Comments
 (0)