LudoPinelli / comment-box.nvim

:sparkles: Clarify and beautify your comments and plain text files using boxes and lines.
MIT License
408 stars 15 forks source link

It is recommended to change `impl.lua` to `init.lua` or `comment-box.lua` #18

Closed liaohui5 closed 1 year ago

liaohui5 commented 1 year ago
require("comment-box").setup()  -- module `comment-box` not found

require("comment-box.impl").setup() -- working

image

LudoPinelli commented 1 year ago

Hi @liaohui5, I don't know why it works on my machine, I can't test it right now but I will later tonight. My guess is that I have to rename the file /plugin/comment-box.lua by /plugin/init.lua. Thanks for reporting this issue.

kohane27 commented 1 year ago

https://github.com/LudoPinelli/comment-box.nvim/pull/19 addressing this issue. Thanks!

kohane27 commented 1 year ago

can confirm that the commit 74ad9fc05b456e1e0f12a6a623dbe375dabbbfa9 (https://github.com/LudoPinelli/comment-box.nvim/pull/19) works. Thank you for merging and fixing this issue!

LudoPinelli commented 1 year ago

Thanks for the feedback!