File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ patterns:
3232 match : \b(0x[0-9A-Fa-f]+)([kKmMgG]b?)?\b
3333
3434- name : meta.resource.terraform
35- match : (resource)\s+(")(\w+)(")\s+(")([\w-]+)(")\s+({)
35+ match : (resource|data )\s+(")(\w+)(")\s+(")([\w-]+)(")\s+({)
3636 captures :
3737 ' 1 ' : {name: storage.type.function.terraform}
3838 ' 2 ' : {name: string.terraform punctuation.definition.string.begin.terraform}
Original file line number Diff line number Diff line change 116116 </dict >
117117 </dict >
118118 <key >match </key >
119- <string >(resource)\s+(")(\w+)(")\s+(")([\w-]+)(")\s+({) </string >
119+ <string >(resource|data )\s+(")(\w+)(")\s+(")([\w-]+)(")\s+({) </string >
120120 <key >name </key >
121121 <string >meta.resource.terraform </string >
122122 </dict >
You can’t perform that action at this time.
0 commit comments