diff --git a/syntax/just.vim b/syntax/just.vim index 47f11e2..527816a 100644 --- a/syntax/just.vim +++ b/syntax/just.vim @@ -201,7 +201,9 @@ syn region justConditionalBraces start="\v\{\{@!" end="\v\}@=" transparent conta syn region justConditionalBracesInInterp start="\v\{\{@!" end="\v\}@=" transparent contained contains=@justExprInInterp syn match justLineLeadingSymbol "\v^%(\\\n)@3 baz} ''' shell_expanded6 := x'$$$$not_an_env_var $$$${also_not_an_env_var}' +shell_expanded7 := x''' + ${FOOOOOOOOOOOOOOOOO:-bar \ + baz + } +''' _true := assert('1' != '0', '1 is not 0') diff --git a/tests/cases/expressions.just b/tests/cases/expressions.just index cfeca67..e4a018f 100644 --- a/tests/cases/expressions.just +++ b/tests/cases/expressions.just @@ -30,6 +30,11 @@ shell_expanded5 := x''' baz} ''' shell_expanded6 := x'$$$$not_an_env_var $$$${also_not_an_env_var}' +shell_expanded7 := x''' + ${FOOOOOOOOOOOOOOOOO:-bar \ + baz + } +''' _true := assert('1' != '0', '1 is not 0')