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
|
- 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
|
||||||
|
|
||||||
To uninstall **lazy.nvim**, you need to remove the following files and directories:
|
To uninstall **lazy.nvim**, you need to remove the following files and directories:
|
||||||
|
|
Loading…
Reference in New Issue