You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package ... and import ... in Odin have incorrect highlighting because they use @namespace instead of @keyword.control.import, like Rust, Go, and others do. Additionally, some of the keywords could be categorized better, e.g., defer as @function.macro, and struct and other storage types as @keyword.storage.type.
Reproduction Steps
For a simple hello-world.odin and gruvbox theme:
package main
import"core:fmt"import rl "vendor:raylib"
main :: proc() {
fmt.println("Hello, world!")
}
Summary
The
package ...
andimport ...
in Odin have incorrect highlighting because they use@namespace
instead of@keyword.control.import
, like Rust, Go, and others do. Additionally, some of the keywords could be categorized better, e.g., defer as@function.macro
, and struct and other storage types as@keyword.storage.type
.Reproduction Steps
For a simple hello-world.odin and gruvbox theme:
Expected behavior:
What I actually got:
Helix log
No logs.
Platform
Linux Fedora 39
Terminal Emulator
wezterm 20240915_153243_2d0c5cdd
Installation Method
DNF package manager
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: