mirror of https://github.com/folke/lazy.nvim.git
docs: migration guide
This commit is contained in:
parent
2f59ead574
commit
36cb7ea597
24
README.md
24
README.md
|
@ -466,17 +466,23 @@ return {
|
||||||
|
|
||||||
- any lua file in `~/.config/nvim/lua/plugins/*.lua` will be automatically merged in the main plugin spec
|
- any lua file in `~/.config/nvim/lua/plugins/*.lua` will be automatically merged in the main plugin spec
|
||||||
|
|
||||||
## 📦 Differences with Packer
|
## 📦 Migration Guide
|
||||||
|
|
||||||
- **Plugin Spec**:
|
### [packer.nvim](https://github.com/wbthomason/packer.nvim)
|
||||||
|
|
||||||
- `setup` => `init`
|
- `setup` ➡️ `init`
|
||||||
- `requires` => `dependencies`
|
- `requires` ➡️ `dependencies`
|
||||||
- `as` => `name`
|
- `as` ➡️ `name`
|
||||||
- `opt` => `lazy`
|
- `opt` ➡️ `lazy`
|
||||||
- `run` => `build`
|
- `run` ➡️ `build`
|
||||||
- `lock` => `pin`
|
- `lock` ➡️ `pin`
|
||||||
- `module` is auto-loaded. No need to specify
|
- `module` is auto-loaded. No need to specify
|
||||||
|
|
||||||
|
### [paq-nvim](https://github.com/savq/paq-nvim)
|
||||||
|
|
||||||
|
- `as` ➡️ `name`
|
||||||
|
- `opt` ➡️ `lazy`
|
||||||
|
- `run` ➡️ `build`
|
||||||
|
|
||||||
## ❌ Uninstalling
|
## ❌ Uninstalling
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue