vim: add missing assembly keywords

This commit is contained in:
2024-12-14 21:56:44 +00:00
parent 5a00f271d8
commit 83a021a862

View File

@@ -7,7 +7,7 @@ set cpoptions&vim
setlocal iskeyword+=@-@
setlocal iskeyword+=.
syn keyword ivyasmUnspecifiedStatement @end @lambda @class @msgh @use @constpool @selector @ident @atom
syn keyword ivyasmUnspecifiedStatement @end @class @block @import @constpool @selector @ident @atom @package @property @var @msgh @lambda
syn keyword ivyasmInstruction ldr str ret ret.n cmp b.eq br add sub div mul push pop msg
syn match ivyasmRegister "x[0-9]"
syn match ivyasmRegister "x[1-9][0-9]"