File tree Expand file tree Collapse file tree 1 file changed +95
-0
lines changed
Expand file tree Collapse file tree 1 file changed +95
-0
lines changed Original file line number Diff line number Diff line change 141141 "category" : " Nix IDE" ,
142142 "command" : " nix-ide.restartLanguageServer"
143143 }
144+ ],
145+ "semanticTokenTypes" : [
146+ {
147+ "id" : " boolean" ,
148+ "description" : " Style for boolean literals" ,
149+ "superType" : " keywords"
150+ },
151+ {
152+ "id" : " constant" ,
153+ "description" : " Style for `builtins` constants"
154+ },
155+ {
156+ "id" : " path" ,
157+ "description" : " Style for paths"
158+ },
159+ {
160+ "id" : " punctuations" ,
161+ "description" : " Style for punctuations"
162+ }
163+ ],
164+ "semanticTokenModifiers" : [
165+ {
166+ "id" : " builtin" ,
167+ "description" : " Style for `builtins` variables and functions"
168+ },
169+ {
170+ "id" : " conditional" ,
171+ "description" : " Style for conditional operators and keywords"
172+ },
173+ {
174+ "id" : " delimiter" ,
175+ "description" : " Style for delimiter punctuations"
176+ },
177+ {
178+ "id" : " escape" ,
179+ "description" : " Style for escape sequences in strings"
180+ },
181+ {
182+ "id" : " parenthesis" ,
183+ "description" : " Style for parenthesis"
184+ },
185+ {
186+ "id" : " unresolved" ,
187+ "description" : " Style for unresolved variables"
188+ },
189+ {
190+ "id" : " withAttribute" ,
191+ "description" : " Style for attributes from `with`"
192+ }
193+ ],
194+ "semanticTokenScopes" : [
195+ {
196+ "language" : " nix" ,
197+ "scopes" : {
198+ "boolean" : [
199+ " constant.language.boolean.nix"
200+ ],
201+ "constant.builtin" : [
202+ " support.const.nix"
203+ ],
204+ "function.builtin" : [
205+ " support.function.nix"
206+ ],
207+ "struct.builtin" : [
208+ " support.const.nix"
209+ ],
210+ "path" : [
211+ " constant.other.path.nix"
212+ ],
213+ "string" : [
214+ " string.quoted.double.nix"
215+ ],
216+ "string.escape" : [
217+ " constant.character.escape.nix"
218+ ],
219+ "variable" : [
220+ " variable.other.nix"
221+ ],
222+ "variable.unresolved" : [
223+ " invalid.nix"
224+ ],
225+ "parameter" : [
226+ " variable.parameter.name.nix"
227+ ],
228+ "property" : [
229+ " entity.other.attribute-name.single.nix"
230+ ],
231+ "*.withAttribute" : [
232+ " markup.underline"
233+ ],
234+ "operator" : [
235+ " entity.name.operator.nix"
236+ ]
237+ }
238+ }
144239 ]
145240 },
146241 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments