Comments (4)
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.
from yabs.nvim.
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!
from yabs.nvim.
Thank you, looking forward to it!
from yabs.nvim.
@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!
from yabs.nvim.
Related Issues (20)
- Proper Vim integrated documentation
- Lets start a wiki with good defaults for popular languages HOT 9
- output to `vim.diagnostic` module HOT 9
- Customize where the quickfix opens HOT 2
- Some suggestions
- Suggestion: Allow running outputed binary as an independent application HOT 2
- Make some tasks only available when project file is detected HOT 17
- Documentation / Example of how to use .yabs files HOT 1
- quickfix output doesn't work in windows 10 HOT 15
- Automatically get project local tasks from cmake/make/just etc HOT 7
- Running dependent tasks based on the result of the task HOT 1
- Proposal: Genrate a default .yabs HOT 3
- Proposal: Root markers & Run commands in specific directories HOT 1
- Proposal: Run command on condition
- Chained task produces nvim errors, doesn't carry out fully if the first task's output is set to `terminal` HOT 7
- "vimL function must not be called in a lua loop callback" HOT 2
- [rewrite] default runners and outputs HOT 3
- nvim_buf_get_option must not be called in a lua loop callback HOT 2
- Define tasks in a file HOT 1
- How to config the yabs.nvim echo some hints after command is done?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yabs.nvim.