From 36cb7ea5979f10acb74a63ea2407d78d6e00192f Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 20 Dec 2022 10:24:57 +0100 Subject: [PATCH] docs: migration guide --- README.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 6d2b688..8baeb21 100644 --- a/README.md +++ b/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 -## 📦 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` - - `module` is auto-loaded. No need to specify +- `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