-
Notifications
You must be signed in to change notification settings - Fork 27
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
sorryfill modification for Lean 4 #306
Conversation
Thanks! Could you perhaps give at least a quick shot towards making the tests for this function to cover Lean 4 as well? They live in the tests folder and already are obviously covering the Lean 3 behavior but not the Lean 4 one. |
Sure. I'll have a go at that. However, local testing doesn't quite work for me. When I run
I get a message
Any idea why that is? I'm running macOS on an M2 mac. |
Hmmm interesting. Do you have Lean 3 installed as well just to be sure? |
Yes. And I installed the |
If it helps, the tests that don't run are:
|
And opening a lean 3 file doesn't error, and |
I can certainly open lean 3 files in nvim (via your plugin!) and everything runs fine. Or just run When I run |
Interesting, OK I'll have to remind myself how you get plenary to show more information about the failures when I get back to a computer. |
remove trailing spcae from sorryfill code
I've given up on trying to get the tests working on my local machine and tested through GitHub actions instead. |
Last night it occurred to me that perhaps the issue locally is not having the dependencies cloned to |
REgardless this looks good to me, thanks again! |
My pleasure! I'm working on a small improvements. In particular, it's nicer to have a |
Tests whether the buffer is lean3 or lean4 and adapts sorry.fill accordingly.
Note, in the modified indentation code, that "\194\183" is the unicode for the centered dot character, used for indentation of Lean 4 subgoals.