From 818ee872f47650d94edebb877d25f61b3ccc39a3 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Thu, 14 Dec 2023 20:56:50 +0100 Subject: [PATCH] add add and sub keywords --- syntax/ca65.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax/ca65.vim b/syntax/ca65.vim index 60643d9..3c6215e 100644 --- a/syntax/ca65.vim +++ b/syntax/ca65.vim @@ -85,6 +85,7 @@ syn keyword ca65PseudoVariables * .asize .cpu .isize .paramcount .time .version syn keyword ca65PseudoFunctions .addrsize .bank .bankbyte .blank .concat .const .def,.defined .definedmacro .hibyte .hiword .ident .ismnem,.ismnemonic .left .lobyte .loword .match .max .mid .min .ref,.referenced .right .sizeof .sprintf .strat .string .strlen .tcount .xmatch syn region ca65ProcLabel matchgroup=ca65ControlCommands start="\(\.proc\)" end="$" contains=ca65Comment keepend " macro packs +syn keyword ca65MacGeneric add sub syn region ca65MacLongbranchTarget matchgroup=ca65MacLongbranch start="\v(jcc|jcs|jeq|jmi|jne|jpl|jvc)[ \t]+" end="$" contains=ca65Comment keepend syn region ca65MacGenericBranchTarget matchgroup=ca65MacGeneric start="\v(bge|blt|bgt|ble|bnz|bze)[ \t]+" end="$" contains=ca65Comment keepend