Closed nebbish closed 1 year ago
Thanks for the answer, I had the same issue. Is there a way to fill the quickfix list instead?
Is there a way to fill the quickfix list instead?
You can do basically anything with the right autocommand. See https://github.com/tpope/vim-fugitive/discussions/2105#discussioncomment-4745681.
My company just installed some pre-commit hooks that, among other things, invokes Clang-Tidy in order to validate the "style" of our C++ code.
Here is an example of the output from git commit in a terminal:
I have reviewed the already existing "pre-commit" related issues -- some related to interaction, or running background, and still popping up the editor.... all of this highlighting that this is a "complicated" flow.
So, this is not about altering that flow in any way -- just about capturing a bit of it for later review. Is that doable?
Maybe there already is a fugitive command to dump the last command's output into a new buffer. I could not find it. If that does not exist -- could that be a way to handle this request?