Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly highlight object constant overrides #19

Open
ironsheep opened this issue Jun 1, 2023 · 0 comments
Open

Correctly highlight object constant overrides #19

ironsheep opened this issue Jun 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ironsheep
Copy link
Owner

ironsheep commented Jun 1, 2023

Is your feature request related to a problem? Please describe.
Highlight this correctly

'' We try to positionally match the NeoGeo mini controller (NESW is CDBA)
'' Therefore, A = BT3, B = BT2, C = BT0 or BT6, D = BT1 or BT7
usb: "usbnew" | ACTIVITY_LED = -1, ERROR_LED = -1, USB_BASE_PIN = USB0_BASEPIN, OVERLAP_MEMORY = true, ...
                EMUPAD_MAX_DEV = 2, ...
                EMUPAD_UP_BIT = 0,EMUPAD_DOWN_BIT = 1,EMUPAD_LEFT_BIT = 2,EMUPAD_RIGHT_BIT = 3, ...
                EMUPAD_BT0_BIT = 6, EMUPAD_BT1_BIT = 7, EMUPAD_BT2_BIT = 5, EMUPAD_BT3_BIT = 4, ...
                EMUPAD_BT4_BIT = -1, EMUPAD_BT5_BIT = -1, EMUPAD_BT6_BIT = 6, EMUPAD_BT7_BIT = 7,  ...
                EMUPAD_BT8_BIT = 9, EMUPAD_BT9_BIT = 8, ...
                EMUPAD_KB_BT0 = $06, EMUPAD_KB_BT1 = $19, EMUPAD_KB_BT2 = $1B, EMUPAD_KB_BT3 = $1D, ...
                EMUPAD_KB_BT4 = 0, EMUPAD_KB_BT5 = 0, EMUPAD_KB_BT6 = 0, EMUPAD_KB_BT7 = 0, ...
                EMUPAD_KB_BT8 = $2A, EMUPAD_KB_BT9 = $28

Describe the solution you'd like
Line continuation is messing with later highlights throughout file

Describe alternatives you've considered
N/A

Additional context
This is a newer feature of spin2 language

REF: https://github.com/IRQsome/NeoYume/blob/slot-interleave/neoyume_input.spin2

@ironsheep ironsheep added the enhancement New feature or request label Jun 1, 2023
@ironsheep ironsheep self-assigned this Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant