From abc4879688e88d4d9aea81de85eedc22e3520bbf Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Sat, 7 Mar 2026 21:12:45 -0500 Subject: [PATCH] Fix require statement for oil.nvim setup --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 122216e..121a52f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Before (`stevearc/oil.nvim`): 'stevearc/oil.nvim', opts = { ... }, config = function(_, opts) - require('canola').setup(opts) + require('oil').setup(opts) end, } ``` @@ -67,8 +67,9 @@ After (`barrettruth/canola.nvim`): ```lua { 'barrettruth/canola.nvim', - init = function() - vim.g.canola = { ... } + opts = { ... }, + config = function(_, opts) + require('canola').setup(opts) end, } ```