File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,16 @@ patterns:
8282 patterns :
8383 - include : ' #string_interpolation'
8484
85+ - name : string.unquoted.heredoc.terraform
86+ begin : (?>\s*<<(\w+))
87+ beginCaptures :
88+ ' 0 ' : {name: punctuation.definition.string.begin.terraform}
89+ ' 1 ' : {name: keyword.operator.heredoc.terraform}
90+ end : ^\1$
91+ endCaptures :
92+ ' 0 ' : {name: punctuation.definition.string.end.terraform}
93+ ' 0 ' : {name: keyword.operator.heredoc.terraform}
94+
8595repository :
8696 string_interpolation :
8797 patterns :
Original file line number Diff line number Diff line change 253253 </dict >
254254 </array >
255255 </dict >
256+ <dict >
257+ <key >begin </key >
258+ <string >(?> \s*<< (\w+)) </string >
259+ <key >beginCaptures </key >
260+ <dict >
261+ <key >0 </key >
262+ <dict >
263+ <key >name </key >
264+ <string >punctuation.definition.string.begin.terraform </string >
265+ </dict >
266+ <key >1 </key >
267+ <dict >
268+ <key >name </key >
269+ <string >keyword.operator.heredoc.terraform </string >
270+ </dict >
271+ </dict >
272+ <key >end </key >
273+ <string >^\1$ </string >
274+ <key >endCaptures </key >
275+ <dict >
276+ <key >0 </key >
277+ <dict >
278+ <key >name </key >
279+ <string >keyword.operator.heredoc.terraform </string >
280+ </dict >
281+ </dict >
282+ <key >name </key >
283+ <string >string.unquoted.heredoc.terraform </string >
284+ </dict >
256285 </array >
257286 <key >repository </key >
258287 <dict >
You can’t perform that action at this time.
0 commit comments