shinmai / sublime_z80_rgbds

RGBDS-flavoured Z80 Assembly syntax definitions for Sublime Text
MIT License
0 stars 1 forks source link

Highlight of LDI instruction #1

Open pixelsyntax opened 5 years ago

pixelsyntax commented 5 years ago

Thanks for making this great package. I have one problem: LDI instruction not highlighted correctly.

Steps to reproduce:

Expected result: LDI is recognised as an instruction and has the main 'stuff for the cpu' highlighting context applied

Actual result: LD is highlighted correctly, but the terminating 'I' character is not.

I've only noticed this problem with LDI. LDD and LDH are unaffected, no idea why this happens!

Example screenshot attached

Screen Shot 2019-08-20 at 9 44 21 am
shinmai commented 5 years ago

Thanks for this, I initially scraped the definitions together quite quickly, just to have some kind of highlighting for my rgbds sources, and have since read the rgbds docs and assembler source more thoroughly, to fix a few other similar oversights in the current, quite crude definitions.
Sorry for the delay, I'm in the process of migrating my e-mails over to a new address and had failed to change my GitHub account e-mail. I'll try and have a new version of the package pushed out by next weekend, to address this and a few other annoying quirks.