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

Certain blackboard font characters break syntax-checking #99

Open
caelanritter opened this issue Jan 16, 2025 · 0 comments
Open

Certain blackboard font characters break syntax-checking #99

caelanritter opened this issue Jan 16, 2025 · 0 comments

Comments

@caelanritter
Copy link

I have lean4-mode 1.1.2, lsp-mode 20220514.1948, flycheck 20250109.714, running on arch. The following seems to be an issue for many of the blackboard font characters (typed with \bb), although not all of them (for example, ℙ). In a fresh Lean 4 project, if I type something like example (𝕜 : Prop) : 𝕜 → 𝕜 := fun h => h or even just variable (𝕜 : Prop), I get bizarre syntax errors (e.g., in the latter case 1:19: unexpected token ')'; expected command). This usually persists until I reset the lean process (with s-l w r), or replace 𝕜 with something friendlier like k and alter the buffer "enough" to make it recheck it properly. However, it's not entirely consistent: sometimes I can delete the whole buffer and still have it throw an error.

I can disable flycheck and still get these errors, so I figure something else is responsible, but I don't know enough about what all the different minor modes do to diagnose it properly.

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

No branches or pull requests

1 participant