Skip to content

Commit a113ad9

Browse files
committed
Completions: use double quotes for phx-* attributes
1 parent 9466da9 commit a113ad9

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Diff for: completions/Phoenix_Attributes.sublime-completions

+24-24
Original file line numberDiff line numberDiff line change
@@ -3,145 +3,145 @@
33
"completions": [
44
{
55
"trigger": "phx-value-*",
6-
"contents": "phx-value-${1:*}={$2}",
6+
"contents": "phx-value-${1:*}=\"$2\"",
77
"kind": "snippet",
88
"details": "Params"
99
},
1010
{
1111
"trigger": "phx-click",
12-
"contents": "phx-click={$1}",
12+
"contents": "phx-click=\"$1\"",
1313
"kind": "snippet",
1414
"details": "Click Events"
1515
},
1616
{
1717
"trigger": "phx-click-away",
18-
"contents": "phx-click-away={$1}",
18+
"contents": "phx-click-away=\"$1\"",
1919
"kind": "snippet",
2020
"details": "Click Events"
2121
},
2222
{
2323
"trigger": "phx-change",
24-
"contents": "phx-change={$1}",
24+
"contents": "phx-change=\"$1\"",
2525
"kind": "snippet",
2626
"details": "Form Events"
2727
},
2828
{
2929
"trigger": "phx-submit",
30-
"contents": "phx-submit={$1}",
30+
"contents": "phx-submit=\"$1\"",
3131
"kind": "snippet",
3232
"details": "Form Events"
3333
},
3434
{
3535
"trigger": "phx-feedback-for",
36-
"contents": "phx-feedback-for={$1}",
36+
"contents": "phx-feedback-for=\"$1\"",
3737
"kind": "snippet",
3838
"details": "Form Events"
3939
},
4040
{
4141
"trigger": "phx-disable-with",
42-
"contents": "phx-disable-with={$1}",
42+
"contents": "phx-disable-with=\"$1\"",
4343
"kind": "snippet",
4444
"details": "Form Events"
4545
},
4646
{
4747
"trigger": "phx-trigger-action",
48-
"contents": "phx-trigger-action={$1}",
48+
"contents": "phx-trigger-action=\"$1\"",
4949
"kind": "snippet",
5050
"details": "Form Events"
5151
},
5252
{
5353
"trigger": "phx-auto-recover",
54-
"contents": "phx-auto-recover={$1}",
54+
"contents": "phx-auto-recover=\"$1\"",
5555
"kind": "snippet",
5656
"details": "Form Events"
5757
},
5858
{
5959
"trigger": "phx-blur",
60-
"contents": "phx-blur={$1}",
60+
"contents": "phx-blur=\"$1\"",
6161
"kind": "snippet",
6262
"details": "Focus Events"
6363
},
6464
{
6565
"trigger": "phx-focus",
66-
"contents": "phx-focus={$1}",
66+
"contents": "phx-focus=\"$1\"",
6767
"kind": "snippet",
6868
"details": "Focus Events"
6969
},
7070
{
7171
"trigger": "phx-window-blur",
72-
"contents": "phx-window-blur={$1}",
72+
"contents": "phx-window-blur=\"$1\"",
7373
"kind": "snippet",
7474
"details": "Focus Events"
7575
},
7676
{
7777
"trigger": "phx-window-focus",
78-
"contents": "phx-window-focus={$1}",
78+
"contents": "phx-window-focus=\"$1\"",
7979
"kind": "snippet",
8080
"details": "Focus Events"
8181
},
8282
{
8383
"trigger": "phx-keydown",
84-
"contents": "phx-keydown={$1}",
84+
"contents": "phx-keydown=\"$1\"",
8585
"kind": "snippet",
8686
"details": "Key Events"
8787
},
8888
{
8989
"trigger": "phx-keyup",
90-
"contents": "phx-keyup={$1}",
90+
"contents": "phx-keyup=\"$1\"",
9191
"kind": "snippet",
9292
"details": "Key Events"
9393
},
9494
{
9595
"trigger": "phx-window-keydown",
96-
"contents": "phx-window-keydown={$1}",
96+
"contents": "phx-window-keydown=\"$1\"",
9797
"kind": "snippet",
9898
"details": "Key Events"
9999
},
100100
{
101101
"trigger": "phx-window-keyup",
102-
"contents": "phx-window-keyup={$1}",
102+
"contents": "phx-window-keyup=\"$1\"",
103103
"kind": "snippet",
104104
"details": "Key Events"
105105
},
106106
{
107107
"trigger": "phx-key",
108-
"contents": "phx-key={$1}",
108+
"contents": "phx-key=\"$1\"",
109109
"kind": "snippet",
110110
"details": "Key Events"
111111
},
112112
{
113113
"trigger": "phx-update",
114-
"contents": "phx-update={$1}",
114+
"contents": "phx-update=\"$1\"",
115115
"kind": "snippet",
116116
"details": "DOM Patching"
117117
},
118118
{
119119
"trigger": "phx-remove",
120-
"contents": "phx-remove={$1}",
120+
"contents": "phx-remove=\"$1\"",
121121
"kind": "snippet",
122122
"details": "DOM Patching"
123123
},
124124
{
125125
"trigger": "phx-hook",
126-
"contents": "phx-hook={$1}",
126+
"contents": "phx-hook=\"$1\"",
127127
"kind": "snippet",
128128
"details": "JS Interop"
129129
},
130130
{
131131
"trigger": "phx-debounce",
132-
"contents": "phx-debounce={$1}",
132+
"contents": "phx-debounce=\"$1\"",
133133
"kind": "snippet",
134134
"details": "Rate Limiting"
135135
},
136136
{
137137
"trigger": "phx-throttle",
138-
"contents": "phx-throttle={$1}",
138+
"contents": "phx-throttle=\"$1\"",
139139
"kind": "snippet",
140140
"details": "Rate Limiting"
141141
},
142142
{
143143
"trigger": "phx-track-static",
144-
"contents": "phx-track-static={$1}",
144+
"contents": "phx-track-static=\"$1\"",
145145
"kind": "snippet",
146146
"details": "Static Tracking"
147147
}

0 commit comments

Comments
 (0)