Skip to content

Commit 8172cf7

Browse files
authored
Merge pull request #3 from jonlarsdizparc/master
Allow nested quotes in string interpolations
2 parents 58a7664 + 123cafa commit 8172cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/bicep.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ syn keyword bicepValueNull null
4949
syn match bicepValueDec /\<[0-9]\+\([kKmMgG]b\?\)\?\>/
5050

5151
syn region bicepValueString start=/'/ skip=/\\\\\|\\'/ end=/'/ contains=bicepStringInterp,bicepEscape
52-
syn region bicepStringInterp start=/${/ end=/}/ contained
52+
syn region bicepStringInterp start=/${/ end=/}/ contained contains=bicepValueString
5353
syn match bicepEscape /\\n/ contained
5454
syn match bicepEscape /\\r/ contained
5555

0 commit comments

Comments
 (0)