bug: Installing canolla-collection while using the canola branch causes an error #273

Closed
opened 2026-03-29 19:25:48 +00:00 by llakala · 4 comments
llakala commented 2026-03-29 19:25:48 +00:00

Prerequisites

Neovim version

NVIM v0.12.0
Build type: Release
LuaJIT 2.1.1741730670
Run "nvim -V1 -v" for more info

Operating system

NixOS Unstable

Description

When installing canolla-collection along with canola.nvim on the canola branch, I get this error:

Error in /nix/store/rwkbfzy3xpjmvc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua:
E5113: Lua chunk: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: attempt to index field 'adapters' (a nil value)
stack traceback:
	...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: in function 'register_adapter'
	...vc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua:6: in main chunk

Steps to reproduce

  1. Install canola.nvim (on the canola branch)
  2. Install canola-collection
  3. Observe the error

Health check

There's no longer a checkhealth!

Minimal reproduction

Can confirm!

E5113: Lua chunk: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: attempt to index field 'adapters' (a nil value) 
stack traceback: 
        ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: in function 'register_adapter' 
        ...vc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua:6: in main chunk
### Prerequisites - [x] I have searched [existing issues](https://github.com/barrettruth/canola.nvim/issues) - [x] I have updated to the latest version ### Neovim version ```text NVIM v0.12.0 Build type: Release LuaJIT 2.1.1741730670 Run "nvim -V1 -v" for more info ``` ### Operating system NixOS Unstable ### Description When installing canolla-collection along with canola.nvim on the canola branch, I get this error: ``` Error in /nix/store/rwkbfzy3xpjmvc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua: E5113: Lua chunk: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: attempt to index field 'adapters' (a nil value) stack traceback: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: in function 'register_adapter' ...vc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua:6: in main chunk ``` ### Steps to reproduce 1. Install canola.nvim (on the canola branch) 2. Install canola-collection 3. Observe the error ### Health check ```text There's no longer a checkhealth! ``` ### Minimal reproduction ```lua Can confirm! E5113: Lua chunk: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: attempt to index field 'adapters' (a nil value) stack traceback: ...configDir/pack/mnw/start/canola-nvim/lua/canola/init.lua:148: in function 'register_adapter' ...vc4inxp7bmnbh44ipfjy-source/plugin/canola-collection.lua:6: in main chunk ```
barrettruth commented 2026-03-29 19:34:58 +00:00

thanks for using the plugin and reporting! going to:

a) fix the health check (lmao)
b) fix the bug

in 30 min

thanks for using the plugin and reporting! going to: a) fix the health check (lmao) b) fix the bug in 30 min
llakala commented 2026-03-29 19:47:07 +00:00

Thanks for your work!

Thanks for your work!
barrettruth commented 2026-03-29 20:34:19 +00:00

lmk if this fixed it (reopen if not)

ensure canola loads first in ur plugin manager then canola-collection

lmk if this fixed it (reopen if not) ensure canola loads first in ur plugin manager then canola-collection
llakala commented 2026-03-30 16:42:51 +00:00

Working, thanks!

Working, thanks!
Sign in to join this conversation.
No description provided.