Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Quickfix live output #1

Closed
Shatur opened this issue Aug 5, 2021 · 4 comments · Fixed by #2
Closed

Quickfix live output #1

Shatur opened this issue Aug 5, 2021 · 4 comments · Fixed by #2

Comments

@Shatur
Copy link
Collaborator

Shatur commented Aug 5, 2021

Hi! Thank you a lot for you plugin!
I have a suggestion. There is asynctasks.vim and it allows to display the output directly in quickfix. It's super useful because you allows to navigate errors directly. It would be nice to have the ability to use a quickfix instead of consolation.nvim when you build something that can be used for error navigation.

@pianocomposer321
Copy link
Owner

Sounds like a great idea! I'll start thinking about possible implementations, and probably take a peek at how asynctasks.vim does it as well.

Thanks for the suggestion. I will keep you in the loop.

@pianocomposer321
Copy link
Owner

Update on this:
I’ve been working for a while now on improving the configuration experience, as well as refactoring quite a bit to make it easier to add different output types. In addition, I’m including several output types by default, including terminal (which creates a new terminal without any dependencies), buffer (basically the same as just using termopen), quickfix (which, duh, sends output to the quickfix list), and, of course, consolation (which sends the output to the default consolation terminal). Btw, consolation is also getting an update, in part to make it play better with yabs, so that it has a terminal wrapper that commands can be sent to by default, instead of having to make a global variable with the wrapper stored inside it (because nobody likes global variables, right?).

I will push these updates as soon as I get a chance to test them a little more and also figure out github’s new authentication method, which seems to be fighting me right now. Anyway, hopefully I’ll get it done tomorrow or later this week. Then you can let me know if it’s what you were looking for or suggest changes. It should be much easier to work with the code after all the refactoring that I did, so more suggestions are definitely welcome!

@Shatur
Copy link
Collaborator Author

Shatur commented Sep 8, 2021

Thank you, looking forward to it!

@pianocomposer321
Copy link
Owner

@Shatur Changes have been pushed! See change_configuration branch of yabs.nvim, and, if you're interested, the feature branch of consolation.nvim.

LMK what you think.

Docs are still to come, you can look at lua/yabs/defaults/init.lua for a configuration example. If you have any questions, fell free to ask!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants