nvim/lua/plugins/makefile.lua

15 lines
389 B
Lua
Raw Normal View History

2024-06-17 15:22:39 +07:00
return {
"sopa0/telescope-makefile",
dependencies = {
"akinsho/toggleterm.nvim",
},
cmd = { "Make" },
keys = {
{ "<leader>m", "<cmd>Telescope make<cr>", { desc = "Launch Make Items" } },
},
config = function()
require("telescope").load_extension "make"
vim.api.nvim_create_user_command("Make", [[Telescope make]], {})
end,
}