Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvllow/pam.nvim
The package manager for Neovim
https://github.com/mvllow/pam.nvim
Last synced: about 1 month ago
JSON representation
The package manager for Neovim
- Host: GitHub
- URL: https://github.com/mvllow/pam.nvim
- Owner: mvllow
- Created: 2024-09-23T20:59:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T20:29:37.000Z (3 months ago)
- Last Synced: 2024-11-26T17:51:03.344Z (about 1 month ago)
- Language: Lua
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# pam.nvim
> The package manager for Neovim
## Features
- Install, upgrade, list, and clean packages
- Support for URLs and local paths
- No unnecessary abstractions## Getting started
Clone pam.nvim:
```sh
git clone https://github.com/mvllow/pam.nvim \
~/.local/share/nvim/site/pack/pam/start/pam.nvim
```Add packages to manage:
```lua
require("pam").manage({
{ source = "mvllow/pam.nvim" },
{
source = "nvim-treesitter/nvim-treesitter",
post_checkout = function()
vim.cmd("TSUpdate")
end,
config = function()
require("nvim-treesitter.configs").setup()
end
},
{
source = "ThePrimeagen/harpoon",
as = "baboon",
branch = "harpoon2",
dependencies = {
{ source = "nvim-lua/plenary.nvim" }
}
}
})
```Install, upgrade, list, or clean packages via the builtin commands:
```vimscript
:Pam
```Please see [doc/pam.txt](doc/pam.txt) or `:help pam` for more information.
## Contributing
There are plenty of package managers out there, but none are named pam. Although that last part was irrelevant, we want to keep pam small. Pull requests are welcome and appreciated, however it may be best to create an issue to discuss any changes first.
### Generating documentation
Inside of Neovim, with [mini.doc](https://github.com/echasnovski/mini.doc) in your runtimepath:
```vimscript
:luafile scripts/minidoc.lua
```