famiu/nvim-reload

Reload, Restart Command not readded

danielnehrig opened this issue · 7 comments

When executing Reload
the Command alias for the reload function disappears
but reload still works over module require

famiu commented

Does it work now?

lsrdg commented

The last commit fixed it for me. @famiu . Thanks for the plugin!

famiu commented

@lsrdg you're welcome. Glad to be of help!

@danielnehrig Does it work for you?

famiu commented

@lsrdg also, unrelated but I just made a commit to use source instead of luafile if init file is written in VimL instead of Lua. I did that because I noticed you had to fork the repo just for that, so I made it a feature

lsrdg commented

@famiu, amazing! At the moment, I have an init.vim file (with maps and options) that sources lua files. The use of source in instead of luafile fixed the issue for me, but I didn't test what would happen the other way around (and that's why I didn't open a PR). Let me know if you need any info from my side and thanks for taking the time.
I might come back with a PR for the docs though. (:

famiu commented

Let me know if you need any info from my side and thanks for taking the time.

Thanks, I will. And you're welcome.

I might come back with a PR for the docs though. (:

That would be appreciated

yes it works now thanks
close this when ever you feel like