Minimalistic plugin for launching make commands from neovim.
Use in lazy:
{
"sebszyller/quick-make.nvim",
keys = {
{ "<leader>M", ":QuickMake<CR>", desc = "QuickMake" },
},
opts = {
-- your configuration
}
}quick-make is lazy-loaded on <leader>M.
It's hardcoded to use Telescope as the picker.
Customise the default opts:
opts = {
debug = false, -- print DEBUG messages
get_root = vim.fn.getcwd, -- function to get the root directory for the Makefile
open_makefile = "<C-o>", -- keybinding to open the makefile from the picker
open_on_error = true, -- open a buffer with the log if make fails
skipped = { ".PHONY" }, -- don't show skipped targets
title = "Make", -- window title
verbose = false, -- print INFO messages
width = 0.5, -- picker width
}Hit <leader>M to open the list of targets. If the make process errors out, a split buffer with the log will open.
