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

Incorrect highlighting of end in let f() = 1 end #2639

Closed
ForceBru opened this issue Sep 6, 2023 · 1 comment · Fixed by #2673
Closed

Incorrect highlighting of end in let f() = 1 end #2639

ForceBru opened this issue Sep 6, 2023 · 1 comment · Fixed by #2673
Labels
bug Something isn't working CM6 CodeMirror 6

Comments

@ForceBru
Copy link

ForceBru commented Sep 6, 2023

Using this code:

let f() = 1 end

let f() = 1
end

GitHub highlights it correctly, but Pluto shows:

pluto_screenshot

Presumably, end should be highlighted in orange as all keywords, but it's not. Same thing happens for more complicated code like let f(x) = x^2 end.

Moreover, indentation seems broken as well:

  1. In the second cell, place the cursor after 1 in the first line.
  2. Hit Enter.
  3. The cursor will appear at the very beginning of the next line, no indentation is inserted.

Versions: Pluto v0.19.27, Julia 1.10.0-beta2.

@Pangoraw Pangoraw added bug Something isn't working CM6 CodeMirror 6 labels Sep 8, 2023
@fonsp
Copy link
Owner

fonsp commented Jan 17, 2025

Will be reopened by #2980

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

Successfully merging a pull request may close this issue.

3 participants