doc: update install instructions
Some checks are pending
quality / changes (push) Waiting to run
quality / Lua Format Check (push) Blocked by required conditions
quality / Lua Lint Check (push) Blocked by required conditions
quality / Lua Type Check (push) Blocked by required conditions
quality / Markdown Format Check (push) Blocked by required conditions
test / Test (Neovim nightly) (push) Waiting to run
test / Test (Neovim stable) (push) Waiting to run

This commit is contained in:
Barrett Ruth 2026-03-16 15:57:35 -04:00
parent bf461f6844
commit 4d5d166f87
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -46,9 +46,8 @@ luarocks install canola.nvim
**Q: How do I migrate from `stevearc/oil.nvim`?** **Q: How do I migrate from `stevearc/oil.nvim`?**
Change the plugin source and replace `setup()` with `vim.g.canola` in `init`. Simply change the plugin source from `stevearc/oil.nvim` to
The configuration table is identical — only the entry point changes. For `barretruth/oil.nvim`.
example, with [lazy.nvim](https://github.com/folke/lazy.nvim):
Before (`stevearc/oil.nvim`): Before (`stevearc/oil.nvim`):
@ -62,14 +61,14 @@ Before (`stevearc/oil.nvim`):
} }
``` ```
After (`barrettruth/canola.nvim`): After (`barrettruth/oil.nvim`):
```lua ```lua
{ {
'barrettruth/canola.nvim', 'barrettruth/oil.nvim',
opts = { ... }, opts = { ... },
config = function(_, opts) config = function(_, opts)
require('canola').setup(opts) require('oil').setup(opts)
end, end,
} }
``` ```