diff --git a/languages/dart/highlights.scm b/languages/dart/highlights.scm index 5379eae..1c34991 100644 --- a/languages/dart/highlights.scm +++ b/languages/dart/highlights.scm @@ -17,11 +17,6 @@ . (argument_part))) @function -; Annotations -; -------------------- -(annotation - name: (identifier) @attribute) - ; Operators and Tokens ; -------------------- (template_substitution @@ -36,7 +31,6 @@ (escape_sequence) @string.escape [ - "@" "=>" ".." "??" @@ -114,6 +108,12 @@ ((identifier) @type (#match? @type "^_?[A-Z].*[a-z]")) +; Annotations +; -------------------- +(annotation + "@" @attribute + name: (identifier) @attribute) + ; properties (unconditional_assignable_selector (identifier) @property)