Skip to content

Add lineRange support to getInteractiveDiagnostics - #169

Merged
gebner merged 1 commit into
mainfrom
intdiagrange
Oct 12, 2021
Merged

gebner merged 1 commit into
mainfrom
intdiagrange

Conversation

@gebner

@gebner gebner commented Oct 11, 2021 •

Copy link
Copy Markdown
Collaborator

Pending Lean PR leanprover/lean4#722

Fixes #162.

@codecov

codecov Bot commented Oct 11, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #169 (bb5832d) into main (17b54fd) will not change coverage.
The diff coverage is 100.00%.

❗ Current head bb5832d differs from pull request most recent head b573d34. Consider uploading reports for the commit b573d34 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #169   +/-   ##
=======================================
  Coverage   80.27%   80.27%           
=======================================
  Files          40       40           
  Lines        3240     3240           
=======================================
  Hits         2601     2601           
  Misses        639      639           
Impacted Files Coverage Δ
lua/lean/infoview.lua 78.38% <100.00%> (ø)
lua/lean/rpc.lua 83.50% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff8d98d...b573d34. Read the comment docs.

@gebner

gebner commented Oct 11, 2021

Copy link
Copy Markdown
Collaborator Author

It looks like the documentation generator gave up on this PR. Not sure how to fix this.

(Personally, I don't get anything out of the auto-generated documentation. Even more, I find the bot commits on the PRs very annoying. As far as I am concerned, we could just drop the lean.txt or replace it by the brief explanation at the top of init.lua.)

@Julian

Julian commented Oct 11, 2021

Copy link
Copy Markdown
Owner

I'm fine with dropping it, though I do find it annoying that :h lean.txt doesn't have more useful info in it even for myself -- it's what a native vim user would expect for docs. The autogeneration was just a hope we wouldn't have to spend more time manually doing it, but it doesn't seem we're getting a lot of value there to me either so it's fine if we kill it and give up for now I guess.

@Julian

Julian commented Oct 11, 2021

Copy link
Copy Markdown
Owner

We could of course alternatively just have the bot run on master and not PRs.

@gebner

gebner commented Oct 11, 2021

Copy link
Copy Markdown
Collaborator Author

it's what a native vim user would expect for docs.

I completely agree. However all the things that would be nice to have there (description of configuration options, commands, mappings, etc.) are not there. Instead it is a Lua API documentation of the infoview (mostly).

If you are ok with it, I'm going to remove the documentation generator---at least for now.

We could of course alternatively just have the bot run on master and not PRs.

This won't help with the problem that this PR introduces though: the documentation generator now fails halfway through.

@Julian

Julian commented Oct 11, 2021

Copy link
Copy Markdown
Owner

Yes I'm good, kill it :)

@gebner

gebner commented Oct 11, 2021

Copy link
Copy Markdown
Collaborator Author

Great! I've also removed the API documentation part of lean.txt because that is going to be out-of-date very soon. (I can revert that change if you'd prefer to keep it.)

@gebner
gebner merged commit 747c5a2 into main Oct 12, 2021
@Julian
Julian deleted the intdiagrange branch October 13, 2021 14:17
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.

Infoview does not update while processing

2 participants