Fix some odin highlights (#11804)

Some of the odin highlights seemed wrong or lacking, like the import names were not being matched:

```odin

// color both "rl" here to same value
import rl "vendor:raylib"

...

rl.Vector3
```

Import color was also not being used correctly
pull/1570/head
Akseli 2 months ago committed by GitHub
parent cb9307bb03
commit 083bb0118f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,10 +4,13 @@
] @keyword.directive
[
"import"
"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)

Loading…
Cancel
Save