Closed wsdjeg closed 4 years ago
Ah, this happens because lua/nvim.lua
is on the runtimepath / luapath. I think putting everything in lua/colorizer/...
will fix it, though it means that the imports change to require('colorizer.nvim')
, etc.
Yeah I'm fixing it right now. I'm moving the files to colorizer/
which doesn't conflict with the colorizer.lua
plugin and is unlikely to conflict with anything else.
@wsdjeg try updating and let me know if you run into any more problems.
@justinmk I should do this for all of my plugins and then make a "writing lua plugins for neovim" tutorial/best practices :P
ok thanks
a "writing lua plugins for neovim" tutorial/best practices :P
could be a patch to if_lua.txt
:) There is some treatment in :help lua-require
and/or :help lua-intro
but it could be expanded.
hello, thanks for create such plugin. but can you keep everything under colorizer namespace. when using this plugin. I can not load my own nvim module.