From c35b131971dae89e5714f6442cbdff8080e0b35d Mon Sep 17 00:00:00 2001 From: crdx Date: Thu, 15 Dec 2022 21:46:55 +0000 Subject: [PATCH] Add attributes to sublime syntax file (#1452) --- extras/just.sublime-syntax | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/just.sublime-syntax b/extras/just.sublime-syntax index fc51a81..cd2c551 100644 --- a/extras/just.sublime-syntax +++ b/extras/just.sublime-syntax @@ -15,6 +15,7 @@ contexts: - include: recipeContent - include: functions - include: keywords + - include: attributes assignments: - match: '^(export\s+)?([a-zA-Z_][a-zA-Z0-9_-]*)\s*(:=)' captures: @@ -73,3 +74,6 @@ contexts: - meta_scope: string.quoted.single.just - match: "'" pop: true + attributes: + - match: '^\[.*?]' + scope: meta.annotation.identifier.just