mirror of https://github.com/folke/lazy.nvim.git
docs: migration guide
This commit is contained in:
parent
2f59ead574
commit
36cb7ea597
22
README.md
22
README.md
|
@ -466,18 +466,24 @@ return {
|
|||
|
||||
- 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`
|
||||
- `requires` => `dependencies`
|
||||
- `as` => `name`
|
||||
- `opt` => `lazy`
|
||||
- `run` => `build`
|
||||
- `lock` => `pin`
|
||||
- `setup` ➡️ `init`
|
||||
- `requires` ➡️ `dependencies`
|
||||
- `as` ➡️ `name`
|
||||
- `opt` ➡️ `lazy`
|
||||
- `run` ➡️ `build`
|
||||
- `lock` ➡️ `pin`
|
||||
- `module` is auto-loaded. No need to specify
|
||||
|
||||
### [paq-nvim](https://github.com/savq/paq-nvim)
|
||||
|
||||
- `as` ➡️ `name`
|
||||
- `opt` ➡️ `lazy`
|
||||
- `run` ➡️ `build`
|
||||
|
||||
## ❌ Uninstalling
|
||||
|
||||
To uninstall **lazy.nvim**, you need to remove the following files and directories:
|
||||
|
|
Loading…
Reference in New Issue