Closed mike-deakin closed 1 year ago
It looks like Lazy and packer load modules differently. I was able to call setup() when using Lazy so I just assumed it'd also work with Packer. I'll move the setup function inside the init.lua to fix this. Thanks for the report!
I moved .setup() inside init.lua in e1f423c
When using the example Packer.nvim configuration, an error is raised which fails the configuration/setup:
packer.nvim: Error running config for nvim-devdocs: [string "..."]:0: attempt to call field 'setup' (a nil value)
Inspecting the object returned by
requre("nvim-devdocs")
shows that the setup function isn't available:Message result:
Manually calling .setup() as a
:lua
command works however.