runtime(odin): remove const and opaque keywords
Commit:
https://github.com/vim/vim/commit/61ad44f4af293e1e245e3d006483ac8ab59ca96f
Author: Maxim Kim <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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 <[email protected]>
# 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1wT2uB-00D8YQ-Ry%40256bit.org.