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

Some characters like dash breaks commands / arguments highlighting #543

Open
zloirock opened this issue Nov 3, 2022 · 2 comments
Open
Labels
bug Something isn't working

Comments

@zloirock
Copy link
Contributor

zloirock commented Nov 3, 2022

For example,

image

or

image

@antonmedv
Copy link
Collaborator

antonmedv commented Nov 3, 2022

Yes, my lexer is pretty basic here. Will try to improve.

@antonmedv antonmedv added the bug Something isn't working label Nov 3, 2022
@antonmedv
Copy link
Collaborator

I really don’t want to bring whole bash parser/powershell parser into lib.

Is there any other ideas on how to colorise output?

maybe highlight only ${..} part and drop the rest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants