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

[BUG]: CBcatalog error in windows #27

Closed MasouShizuka closed 10 months ago

MasouShizuka commented 11 months ago

When executing CBcatalog, the error message is displayed:

Error executing Lua callback: ...a/lazy/comment-box.nvim/lua/comment-box/catalog_view.lua:36: Vim:E492: Not an editor command: $readC:\Users\MasouShizuka\AppData\Local\nvim-data\lazy\comment-box.nvim\catalog\catalog.txt
stack traceback:
        [C]: in function 'nvim_command'
        ...a/lazy/comment-box.nvim/lua/comment-box/catalog_view.lua:36: in function 'view'
        ...a/lazy/comment-box.nvim/lua/comment-box/catalog_view.lua:54: in function 'view_cat'
        ...nvim-data/lazy/comment-box.nvim/lua/comment-box/init.lua:805: in function 'catalog'
        ...l/nvim-data/lazy/comment-box.nvim/plugin/comment-box.lua:205: in function <...l/nvim-data/lazy/comment-box.nvim/plugin/comment-box.lua:204>
LudoPinelli commented 10 months ago

Thank you for the feedback, the last Pull request should have fix this bug.