Commit: runtime(odin): remove const and opaque keywords

2 views
Skip to first unread message

Christian Brabandt

unread,
May 29, 2026, 3:30:15 PM (yesterday) May 29
to vim...@googlegroups.com
runtime(odin): remove const and opaque keywords

Commit: https://github.com/vim/vim/commit/61ad44f4af293e1e245e3d006483ac8ab59ca96f
Author: Maxim Kim <hab...@gmail.com>
Date: Fri May 29 19:19:38 2026 +0000

runtime(odin): remove const and opaque keywords

They don't exist in odin lang.

closes: #20364

Signed-off-by: Maxim Kim <hab...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/syntax/odin.vim b/runtime/syntax/odin.vim
index efa107b79..42f3767a4 100644
--- a/runtime/syntax/odin.vim
+++ b/runtime/syntax/odin.vim
@@ -4,14 +4,14 @@ vim9script
# Language: Odin
# Maintainer: Maxim Kim <hab...@gmail.com>
# Website: https://github.com/habamax/vim-odin
-# Last Change: 2026-02-02
+# Last Change: 2026-05-28

if exists("b:current_syntax")
finish
endif

-syntax keyword odinKeyword using transmute cast auto_cast distinct opaque where dynamic
-syntax keyword odinKeyword struct enum union const bit_field bit_set
+syntax keyword odinKeyword using transmute cast auto_cast distinct where dynamic
+syntax keyword odinKeyword struct enum union bit_field bit_set
syntax keyword odinKeyword package proc map import export foreign
syntax keyword odinKeyword size_of offset_of type_info_of typeid_of type_of align_of
syntax keyword odinKeyword return defer
Reply all
Reply to author
Forward
0 new messages