Skip to content

Commit 158e01e

Browse files
kanishkarjcmyr
authored andcommitted
update toml syntax with metadata
1 parent a0d4067 commit 158e01e

6 files changed

+1354
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: Comments
2+
scope: source.toml
3+
settings:
4+
shellVariables:
5+
- name: TM_COMMENT_START
6+
value: "# "
7+
uuid: 1756cf6c-a968-4b8d-91ce-89478b6ab636

Packages/Toml/Comments.tmPreferences

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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>name</key>
6+
<string>Comments</string>
7+
<key>scope</key>
8+
<string>source.toml</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>shellVariables</key>
12+
<array>
13+
<dict>
14+
<key>name</key>
15+
<string>TM_COMMENT_START</string>
16+
<key>value</key>
17+
<string># </string>
18+
</dict>
19+
</array>
20+
</dict>
21+
<key>uuid</key>
22+
<string>1756cf6c-a968-4b8d-91ce-89478b6ab636</string>
23+
</dict>
24+
</plist>

Packages/Toml/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
Source :
3+
https://github.com/evandroforks/Toml
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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>name</key>
6+
<string>Symbol List</string>
7+
<key>scope</key>
8+
<string>meta.tag.key.toml, meta.tag.table.toml</string>
9+
<key>settings</key>
10+
<dict>
11+
<key>showInSymbolList</key>
12+
<integer>1</integer>
13+
</dict>
14+
</dict>
15+
</plist>

0 commit comments

Comments
 (0)