add C-like comments
This commit is contained in:
parent
e188260983
commit
ae18ad447c
|
@ -248,7 +248,8 @@ syn region asm_ca65String start=+"+ skip=+\\"+ end=+"+
|
||||||
syn region asm_ca65Char start=+'+ skip=+\\'+ end=+'+
|
syn region asm_ca65Char start=+'+ skip=+\\'+ end=+'+
|
||||||
|
|
||||||
" Line comments
|
" Line comments
|
||||||
syn match asm_ca65Comment ";.*" contains=asm_ca65Todo
|
syn match asm_ca65Comment ";.*" contains=asm_ca65Todo,@Spell
|
||||||
|
syn region asm_ca65Comment matchgroup=asm_ca65CCommentStart start="/\*" end="\*/" contains=asm_ca65Todo,@Spell fold extend
|
||||||
syn keyword asm_ca65Todo contained TODO FIXME XXX HACK
|
syn keyword asm_ca65Todo contained TODO FIXME XXX HACK
|
||||||
|
|
||||||
syn case match
|
syn case match
|
||||||
|
@ -264,6 +265,7 @@ if version >= 508 || !exists("did_asm_ca65_syntax_inits")
|
||||||
command -nargs=+ HiLink hi def link <args>
|
command -nargs=+ HiLink hi def link <args>
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
HiLink asm_ca65CCommentStart Comment
|
||||||
HiLink asm_ca65Comment Comment
|
HiLink asm_ca65Comment Comment
|
||||||
HiLink asm_ca65Todo Todo
|
HiLink asm_ca65Todo Todo
|
||||||
HiLink asm_ca65Mnemonic Keyword
|
HiLink asm_ca65Mnemonic Keyword
|
||||||
|
|
Loading…
Reference in New Issue
Block a user