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

chore: use text variant of ✝︎ #520

Closed

Conversation

joneugster
Copy link
Contributor

@joneugster joneugster commented Aug 27, 2024

following leanprover/lean4#5174 use text-variant selector for ✝︎.

@@ -18,7 +18,7 @@ import { useEvent } from './util'

/** Returns true if `h` is inaccessible according to Lean's default name rendering. */
function isInaccessibleName(h: string): boolean {
return h.indexOf('✝') >= 0
return h.indexOf('✝') >= 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this expected to work with previous versions of lean as well? Then maybe leave code as it (matches both) and leave a comment

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, vscode-lean4 needs to be backwards compatible with all prior Lean 4 releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ofc that was an oversight!

Anyways, I closed leanprover/lean4#5174 as I can't say with certainty that it won't introduce maintaince burden.

@joneugster joneugster closed this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants