File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " pine-script-syntax-highlighter" ,
3
3
"displayName" : " Pine Script Syntax Highlighter" ,
4
4
"description" : " Write awesome indicators or strategies with me!" ,
5
- "version" : " 1.0.4 " ,
5
+ "version" : " 1.0.5 " ,
6
6
"author" :
" Yankı Küçük <[email protected] > (https://github.com/kendinikertenkelebek)" ,
7
7
"publisher" : " ex-codes" ,
8
8
"icon" : " images/pinescript.png" ,
Original file line number Diff line number Diff line change 51
51
},
52
52
{
53
53
"begin" : " '" ,
54
- "beginCaptures" : {
54
+ "beginCaptures" : {
55
55
"1" : {
56
56
"name" : " punctuation.definition.string.begin.pine"
57
57
}
75
75
"keywords" : {
76
76
"patterns" : [
77
77
{
78
- "match" : " \\ b(if|else|continue|break|for|return)\\ b" ,
78
+ "match" : " \\ b(if|else|continue|break|for|return|var )\\ b" ,
79
79
"name" : " keyword.control.pine"
80
80
}
81
81
]
143
143
"variables" : {
144
144
"patterns" : [
145
145
{
146
- "match" : " [a-zA-Z_][a-zA-Z0-9_]*\\ s*(?=\\ =)" ,
146
+ "match" : " [a-zA-Z_][a-zA-Z0-9_]*\\ s*(?=\\ =|:= )" ,
147
147
"name" : " variable.other.pine"
148
148
}
149
149
]
186
186
"name" : " keyword.operator.logical.pine"
187
187
},
188
188
{
189
- "match" : " = " ,
189
+ "match" : " (=|:=) " ,
190
190
"name" : " keyword.operator.assignment.pine"
191
191
}
192
192
]
You can’t perform that action at this time.
0 commit comments