lean4-mode
lean4-mode copied to clipboard
Fix magit-section usage so the expand/contract functionality works
Use named sections so magit-section can track which sections are expanded.
Don't use sections for individual diagnostics, since they can't be tracked.
Capture data in lexicals for deferred rendering by magit-insert-section-body
.
Use with-current-buffer
(delete lean4-with-info-output-to-buffer
).
Make the diagnostic line:col
headers into text buttons.
force-push: rebase onto #51
Rebased onto leanprover-community:master
Can someone merge this please?
I see no reason not to. It's just a minor bugfix. @sebeaumont, please ping Yury (@urkud) on Zulip.