| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A minimal wrapper around nvim builtin plugin-manager vim.pack. Made to make it more convenient to use, and is inspired by the design of lazy.nvim
in init.lua setup before you can use it.
-- init.lua
-- first and only time you need to `vim.pack.add` directly
vim.pack.add { 'https://github.com/LibereCode/plugman.nvim' }
require('plugman').setup { }
-- require('plugman').setup { packadd_opts = { ... } } -- OPTIONAL alternativeThen you can start adding plugins
-- init_or_whereever_else.lua
local gh = "https://github.com"
require('plugman').add(
{ host = gh, owner = "LibereCode", repo = "toggleTerm.nvim", name = "toggleTerm" },
{
-- This is the table that is put in require('plugin').setup(<TABLE>)
-- or for lazy.nvim users: what would've been `opts` value
},
-- NOTE: OPTIONAL
function()
-- stuff that will be loaded after the plugins' setups
end,
)The project is licensed under the EUPL-license. See a copy of the LICENSE.
| Back | FazBrowse Home | New Git URL |