Browse Source

add missing directives

master
Alison Watson 2 years ago
parent
commit
e41caaa99d
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      syntax/asm_ca65.vim

+ 4
- 0
syntax/asm_ca65.vim View File

@@ -105,6 +105,7 @@ syn match asm_ca65SpecialSegmentCommand "\.data\>"
syn match asm_ca65SpecialSegmentCommand "\.rodata\>"
syn match asm_ca65SpecialSegmentCommand "\.rodata\>"
syn match asm_ca65SpecialSegmentCommand "\.zeropage\>"
syn match asm_ca65SpecialSegmentCommand "\.section\>"
" Includes
syn match asm_ca65Include "\.include\>"
syn match asm_ca65Include "\.incbin\>"
@@ -142,10 +143,13 @@ syn match asm_ca65Cond "\.elseif\>"
syn match asm_ca65Cond "\.endif\>"
syn match asm_ca65Cond "\.repeat\>"
syn match asm_ca65Cond "\.endrepeat\>"
syn match asm_ca65Cond "\.endrep\>"
" Macro stuff
syn match asm_ca65Macro "\.macro\s\+[a-z0-9_]*" contains=asm_ca65MacroName
syn match asm_ca65MacroName "\s[a-z_][a-z0-9_]*"hs=s+1 contained
syn match asm_ca65Macro "\.endmacro\>"
syn match asm_ca65Macro "\.endm\>"
syn match asm_ca65Macro "\.endmac\>"
syn match asm_ca65Macro "\.exitmacro\>"
syn match asm_ca65Macro "\.exitmac\>"
syn match asm_ca65Macro "\.delmacro\>"


Loading…
Cancel
Save