File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import * as vscode from 'vscode';
22
33export function activate ( context : vscode . ExtensionContext ) {
44
5-
5+ let test = 2 ;
6+
67
78}
Original file line number Diff line number Diff line change 5757 }
5858 },
5959 "patterns" : [
60+ {
61+ "include" : " #draw-block"
62+ },
6063 {
6164 "include" : " #assignment"
6265 },
8184 }
8285 ]
8386 },
87+ "draw-block" : {
88+ "begin" : " \\ s*\\ b(Draw)\\ b\\ s*(\\ =)\\ s*([a-zA-Z]\\ w+)\\ s*([a-zA-Z][\\ w_]+)" ,
89+ "beginCaptures" : {
90+ "1" : {
91+ "name" : " keyword.control.ini"
92+ },
93+ "2" : {
94+ "name" : " keyword.operator.assignment.ini"
95+ },
96+ "3" : {
97+ "name" : " entity.name.function"
98+ },
99+ "4" : {
100+ "name" : " storage.type.ini"
101+ }
102+ },
103+ "end" : " \\ s*\\ b(End)\\ b" ,
104+ "endCaptures" : {
105+ "1" : {
106+ "name" : " keyword.control.ini"
107+ }
108+ },
109+ "patterns" : [
110+ {
111+ "include" : " #assignment"
112+ },
113+ {
114+ "include" : " #inline-comment"
115+ }
116+ ]
117+ },
84118 "assignment" : {
85119 "begin" : " (^[ \\ t]+)?([a-zA-Z]\\ w+)\\ s*(\\ =)\\ s*" ,
86120 "beginCaptures" : {
87121 "2" : {
88122 "name" : " variable.parameter"
89123 },
90124 "3" : {
91- "name" : " punctuation.whitespace .ini"
125+ "name" : " keyword.operator.assignment .ini"
92126 }
93127 },
94128 "end" : " (?!\\ G)" ,
95129 "patterns" : [
96130 {
97131 "include" : " #string"
98132 },
133+ {
134+ "include" : " #doublequoted-strings"
135+ },
99136 {
100137 "include" : " #numbers"
101138 },
You can’t perform that action at this time.
0 commit comments