[vim/vim] runtime(odin): support underscore-separated numeric literals (PR #18852)

4 views
Skip to first unread message

Maxim Kim

unread,
Dec 2, 2025, 5:31:22 PM (12 hours ago) Dec 2
to vim/vim, Subscribed

Add support for underscore-separated numeric literals in Odin syntax highlighting. This allows proper highlighting of numbers like 1_000_000, 0xFF_AA_BB, and 0b1010_1111 as specified in the Odin language.

Numerical literals are written similar to most other programming
languages. A useful feature in Odin is that underscores are allowed
for better readability: 1_000_000_000 (one billion).
https://odin-lang.org/docs/overview/#numbers

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18852

Commit Summary

  • 5e9709d runtime(odin): support underscore-separated numeric literals

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18852@github.com>

Reply all
Reply to author
Forward
0 new messages