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

(lisp) stop coloring when «'(*» is found #3978

Open
texcoffier opened this issue Jan 29, 2024 · 2 comments
Open

(lisp) stop coloring when «'(*» is found #3978

texcoffier opened this issue Jan 29, 2024 · 2 comments
Labels
bug help welcome Could use help from community parser

Comments

@texcoffier
Copy link

Describe the issue/behavior that seems buggy

When an expression starts with «'(*» the coloring stops for the following lines until a «*» is found.

Sample Code or Instructions to Reproduce

(+ 6 7)   ; colored
'(* 6 7)  ; not colored
(+ 6 7)   ; not colored
(+ 6 7)   ; not colored
'(* 6 7)  ; 6 7 colored, star restarts coloring

(+ 6 7)   ; colored
'(* 6 7)  ; not colored
(+ 6 7)   ; not colored
(+ 6 7)   ; not colored
(* 6 7)   ; 6 7 colored, star restarts coloring

(* 6 7)   ; colored
'(* 6 7)  ; not colored
(+ 6 7)   ; not colored
(+ 6 7)   ; not colored
(+ *)     ; not colored, star restarts coloring

(* 6 7)   ; colored
'(* 6 7)  ; not colored
(+ 6 7)   ; not colored, * in comment restart coloring but not immediatly
(+ 6 7)   ; 6 7 colored
@texcoffier texcoffier added bug help welcome Could use help from community parser labels Jan 29, 2024
@joshgoebel
Copy link
Member

What should it look like? Github isn't helping since it doesn't seem to color the operators...

@texcoffier
Copy link
Author

All the «+», «6» and «7» should be colored.

It is as «'(» was eating all the characters until a «» was found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug help welcome Could use help from community parser
Projects
None yet
Development

No branches or pull requests

2 participants