Skip to content

Commit 38af8d3

Browse files
author
Henrik Lissner
authored
Merge pull request #16 from VentGrey/master
{html,rust}-mode: small improvements
2 parents c304c10 + 0e84d9b commit 38af8d3

File tree

11 files changed

+46
-46
lines changed

11 files changed

+46
-46
lines changed

html-mode/form

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <form method="..." id="..." action="..."></form>
4-
# --
5-
<form method="$1" id="$2" action="$3">
6-
$0
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <form method="..." id="..." action="..."></form>
4+
# --
5+
<form method="$1" id="$2" action="$3">
6+
$0
77
</form>

html-mode/html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <html>...</html>
4-
# --
5-
<html>
6-
$0
7-
</html>
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <html>...</html>
4+
# --
5+
<html>
6+
$0
7+
</html>

html-mode/html.xmlns

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <html xmlns="...">...</html>
4-
# --
5-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
6-
$0
7-
</html>
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <html xmlns="...">...</html>
4+
# --
5+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${1:en}" lang="${2:en}">
6+
$0
7+
</html>

html-mode/linkie

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: <!--[if IE]><link stylesheet="..." /><![endif]-->
3-
# --
4-
<!--[if IE${1: version}]>
5-
<link rel="${2:stylesheet}" href="${3:url}" type="${4:text/css}" media="${5:screen}" />
6-
<![endif]-->
2+
# name: <!--[if IE]><link stylesheet="..." /><![endif]-->
3+
# --
4+
<!--[if IE${1: version}]>
5+
<link rel="${2:stylesheet}" href="${3:url}" type="${4:text/css}" media="${5:screen}" />
6+
<![endif]-->

html-mode/meta

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# contributor : Jimmy Wu <[email protected]>
3-
# group: meta
4-
# name: <meta name="..." content="..." />
5-
# --
2+
# contributor : Jimmy Wu <[email protected]>
3+
# group: meta
4+
# name: <meta name="..." content="..." />
5+
# --
66
<meta name="${1:generator}" content="${2:content}" />

html-mode/meta.http-equiv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <meta http-equiv="..." content="..." />
4-
# group: meta
5-
# --
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <meta http-equiv="..." content="..." />
4+
# group: meta
5+
# --
66
<meta name="${1:Content-Type}" content="${2:text/html; charset=UTF-8}" />

html-mode/script

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# name: <script type="text/javascript">...</script>
3-
# --
4-
<script type="text/javascript">
5-
$0
6-
</script>
2+
# name: <script type="text/javascript">...</script>
3+
# --
4+
<script type="text/javascript">
5+
$0
6+
</script>

html-mode/scriptsrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- mode: snippet -*-
2-
# name: <script type="text/javascript" src="..."></script>
3-
# --
4-
<script type="text/javascript" src="$1"></script>
2+
# name: <script type="text/javascript" src="..."></script>
3+
# --
4+
<script type="text/javascript" src="$1"></script>

html-mode/textarea

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <textarea ...></textarea>
4-
# --
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <textarea ...></textarea>
4+
# --
55
<textarea name="$1" id="$2" rows="$3" cols="$4" tabindex="$5"></textarea>

html-mode/th

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- mode: snippet -*-
2-
# contributor: Jimmy Wu <[email protected]>
3-
# name: <th>...</th>
4-
# group: table
5-
# --
2+
# contributor: Jimmy Wu <[email protected]>
3+
# name: <th>...</th>
4+
# group: table
5+
# --
66
<th$1>$2</th>

0 commit comments

Comments
 (0)