Neovim plugin to easily execute compile command and see the result
Using packer.nvim
use 'nanoteck137/scorbunny.nvim'
Using vim-plug
Plug 'nanoteck137/scorbunny.nvim'
-- Default options
require('scorbunny').setup {}
-- Options
require('scorbunny').setup {
zindex = 49, -- The zindex of the window, we use 49 so that notifications from the 'rcarriga/nvim-notify' plugin show on top of command window
notify = true, -- Disable notifications from the plugin, doesn't disable error notifications
-- Callback for when the job is done
on_job_done = function()
print("Exit Code", require('scorbunny').job.exit_code)
end
}
-- Execute any command and open the window with the command output
require('scorbunny').execute_cmd(cmd)
-- Kill the current executing command
require('scorbunny').kill()
-- Open the window with the command output
require('scorbunny').open_window()
Examples
require('scorbunny').execute_cmd('cargo build')
TODO(patrik): Add better examples
Patrik Millvik Rosenström patrik.millvik@gmail.com
This project is licensed under the MIT License - see the LICENSE file for details