Skip to content

Commit a9d5664

Browse files
azizkprincemaple
authored andcommitted
Preferences: added various comment settings
1 parent bcee3db commit a9d5664

File tree

3 files changed

+55
-2
lines changed

3 files changed

+55
-2
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>name</key>
5+
<string>EEx Comments</string>
6+
<key>scope</key>
7+
<string>text.eex | text.html.eex | text.html.heex</string>
8+
<key>settings</key>
9+
<dict>
10+
<key>shellVariables</key>
11+
<array>
12+
<dict>
13+
<key>name</key>
14+
<string>TM_COMMENT_START</string>
15+
<key>value</key>
16+
<string><![CDATA[<%!-- ]]></string>
17+
</dict>
18+
<dict>
19+
<key>name</key>
20+
<string>TM_COMMENT_END</string>
21+
<key>value</key>
22+
<string><![CDATA[ --%>]]></string>
23+
</dict>
24+
</array>
25+
</dict>
26+
</dict>
27+
</plist>
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plist version="1.0">
33
<dict>
44
<key>name</key>
5-
<string>Comments</string>
5+
<string>Elixir Comments</string>
66
<key>scope</key>
77
<string>source.elixir</string>
88
<key>settings</key>
@@ -19,4 +19,3 @@
1919
</dict>
2020
</dict>
2121
</plist>
22-
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>name</key>
5+
<string>Surface Comments</string>
6+
<key>scope</key>
7+
<string>text.html.surface</string>
8+
<key>settings</key>
9+
<dict>
10+
<key>shellVariables</key>
11+
<array>
12+
<dict>
13+
<key>name</key>
14+
<string>TM_COMMENT_START</string>
15+
<key>value</key>
16+
<string><![CDATA[{!-- ]]></string>
17+
</dict>
18+
<dict>
19+
<key>name</key>
20+
<string>TM_COMMENT_END</string>
21+
<key>value</key>
22+
<string><![CDATA[ --}]]></string>
23+
</dict>
24+
</array>
25+
</dict>
26+
</dict>
27+
</plist>

0 commit comments

Comments
 (0)