diff --git a/extras/just.sublime-syntax b/extras/just.sublime-syntax index 424fdba..8b0442c 100644 --- a/extras/just.sublime-syntax +++ b/extras/just.sublime-syntax @@ -12,32 +12,46 @@ contexts: - include: strings - include: assignments - include: recipeDefinition + - include: recipeContent + - include: functions - include: keywords assignments: - - match: '^(export[\s]?)?([a-zA-Z_][a-zA-Z0-9_-]*)=' + - match: '^(export\s+)?([a-zA-Z_][a-zA-Z0-9_-]*)\s*(:=)' captures: - 1: storage.type.just - 2: variable.name.just + 1: storage.modifier.just + 2: variable.other.just + 3: keyword.operator.assignment.just comments: - - match: '^#[^!].*' + - match: '#[^!].*' scope: comment.line.just interpolate: - - match: '\{\{' + - match: '(?