Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 15, 2023

I've tried to add HolyC support by cross referencing GitHub's Linguist HolyC implementation against it's C implementation to see how the syntax is different. Then copied the C file on Chroma and applied those changes. This hopefully should work.

@ghost
Copy link
Author

ghost commented Feb 15, 2023

Fixed that

@alecthomas
Copy link
Owner

No worries, it happens.

If you could add a test input that would be great. Check the testdata/README.md file for instructions.

@alecthomas
Copy link
Owner

There is also at least one regex issue which is in the CI logs. You can test this locally with go test ./lexers

@ghost
Copy link
Author

ghost commented Feb 15, 2023

Oof sorry I didn't see that.

@ghost
Copy link
Author

ghost commented Feb 15, 2023

There is also at least one regex issue which is in the CI logs. You can test this locally with go test ./lexers

Alright, apologies @alecthomas, I've never really worked with Go before prior to this, so I had no idea I could test it. Anyways it's fixed.

@alecthomas alecthomas merged commit 3ac94ee into alecthomas:master Feb 15, 2023
@alecthomas
Copy link
Owner

Lovely, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant