We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--
I test the Lean 4 in Shiki at https://shiki.matsu.io/
And I found Shiki cannot render the -- comment of Lean correctly.
(See the different between /- test -/ and -- comment).
/- test -/
-- comment
The text was updated successfully, but these errors were encountered:
structure Point (α : Type u) where mk :: (x : α) (y : α) deriving Repr /- test -/ #check Point -- a Type #check @Point.rec -- the eliminator #check @Point.mk -- the constructor #check @Point.x -- a projection #check @Point.y -- a projection #eval Point.x (Point.mk 10 20) #eval Point.y (Point.mk 10 20)
It seems that Github can render this correct.
Sorry, something went wrong.
textmate-grammars-themes (and by extension Shiki) gets the lean grammar from upstream here: https://github.com/leanprover/vscode-lean4/blob/master/vscode-lean4/syntaxes/lean4.json
textmate-grammars-themes
I don't know if GitHub is using the same grammar file.
Does this work correctly if using the upstream grammar directly (rather than the cleaned up version from textmate-grammars-themes)?
No branches or pull requests
I test the Lean 4 in Shiki at https://shiki.matsu.io/
And I found Shiki cannot render the
--
comment of Lean correctly.(See the different between
/- test -/
and-- comment
).The text was updated successfully, but these errors were encountered: