A just command runner plugin for neovim.
Install the just
command runner
sudo pacman -S just
brew install just
use("BeatScherrer/just.nvim")
set up the plugin:
require("just").setup()
This plugin comes with a telescope extension. This allows to pick the recipe in a telescope picker and run them directly.
Register the extension in telescope:
require("telescope").load_extension("just")
To run a recipe the user command Just
is available that wraps the actual command and handles output.
Example:
:Just some-task
If an error occurrs in the passed recipe the quickfix is automatically opened.
- Add config to not open the quickfix on error
- Add config to jump to first error on failure
- Add quickfix error parsing support
- Improve the error messages in the just project
- Come up with a strategy to handle multiple arguments when using the telescope extension
- Dispatched processes cannot be cancelled...
- Where should just recipe output go? quickfix list is not ideal since multiple just recipes should run in parallel, especially long running processes.