diff --git a/runtime/queries/odin/highlights.scm b/runtime/queries/odin/highlights.scm index bdc4c129..ed302cdb 100644 --- a/runtime/queries/odin/highlights.scm +++ b/runtime/queries/odin/highlights.scm @@ -4,10 +4,13 @@ ] @keyword.directive [ - "import" - "package" + "package" ] @namespace +[ + "import" +] @keyword.control.import + [ "foreign" "using" @@ -200,7 +203,7 @@ (struct . (identifier) @type) -(field_type . (identifier) "." (identifier) @type) +(field_type . (identifier) @keyword.storage.type "." (identifier) @type) (bit_set_type (identifier) @type ";") @@ -248,6 +251,8 @@ (using_statement (identifier) @namespace) +(import_declaration (identifier) @keyword.storage.type) + ; Parameters (parameter (identifier) @variable.parameter ":" "="? (identifier)? @constant)