-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect input #15
Comments
Should it be |
That would redirect output, not input (and would also be a desirable feature!). Ideally (imho) it should work as vscode. Although having stdin/stdout as extra parameters would also be convenient. |
Oh, I see. Makes sense, but not sure if it's possible. |
Seems that it has support for it (kind of): https://github.com/nvim-lua/plenary.nvim/blob/master/lua/plenary/job.lua#L667C17-L667C17 This allows for sending data into stdin after job has started. (It would require for the file to be opened, read, and sent into the job) |
Right, then we probably could add support for it by providing additional neovim-tasks/lua/tasks/runner.lua Line 98 in f42b164
I currently busy at the moment, but if you would like to play with it - PRs are welcome. |
Can't find a way to redirect input by using the configuration files. Is there a way?
I tried something like:
The text was updated successfully, but these errors were encountered: