Skip to content

Highlight of LDI instruction #1

@pixelsyntax

Description

@pixelsyntax

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

Steps to reproduce:

  • Install sublime_z80_rgbds via Package Manager in Sublime Text 3
  • Open or create a file configured to use RGBDS syntax highlighting
  • Enter a line of code using the LDI instruction, for example
    LDI [HL], A

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions