Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 9b897f5

Browse files
author
Dean Sofer
committed
Added pluralize and switch
1 parent 1fb03b8 commit 9b897f5

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

‎Snippets/ng:pluralize.tmSnippet

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>&lt;ng:pluralize count="1ドル" when="2ドル"${3: offset="4ドル"}&gt;&lt;/ng:pluralize&gt;</string>
7+
<key>name</key>
8+
<string>ng:pluralize</string>
9+
<key>scope</key>
10+
<string>text.html</string>
11+
<key>tabTrigger</key>
12+
<string>plural</string>
13+
<key>uuid</key>
14+
<string>4D50AD6E-E77A-4CE5-867A-C710611F3E2E</string>
15+
</dict>
16+
</plist>

‎Snippets/ng:switch directive.tmSnippet

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>content</key>
6+
<string>ng:switch-when="1ドル"</string>
7+
<key>name</key>
8+
<string>ng:switch directive</string>
9+
<key>scope</key>
10+
<string>text.html, meta.tag</string>
11+
<key>tabTrigger</key>
12+
<string>switch</string>
13+
<key>uuid</key>
14+
<string>0D9CBF81-668B-471A-BB36-75AFC7AFDC32</string>
15+
</dict>
16+
</plist>

‎info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
<key>ordering</key>
88
<array>
99
<string>73FE8F19-35BA-4C5F-A3E4-4133E6066A42</string>
10+
<string>4D50AD6E-E77A-4CE5-867A-C710611F3E2E</string>
1011
<string>0282FB46-A1B4-4F0D-9921-6084B40BF8B3</string>
12+
<string>0D9CBF81-668B-471A-BB36-75AFC7AFDC32</string>
1113
<string>32FCDB03-A8CD-408C-AF18-56CBE6705C40</string>
1214
<string>E63657EF-F3BE-4312-9786-CA2573B04CB8</string>
1315
<string>2A7D544B-2A8C-4C45-A9EF-D08574E1FBDD</string>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /