tjdevries / nlua.nvim

Lua Development for Neovim
MIT License
262 stars 21 forks source link

Fix using bin/OSX directory to bin/macOS #22

Open wantyapps opened 3 years ago

wantyapps commented 3 years ago

This is a fix for #21

keblek commented 3 years ago

I am trying to use your fork with packer to see if I can fix this issue. I can't get the your fork to load, do you know how to do that @wantyapps ?

klooj commented 3 years ago

I am trying to use your fork with packer to see if I can fix this issue. I can't get the your fork to load, do you know how to do that @wantyapps ?

you need to uninstall your current installation first because packer stores the plugin 'user/repo' as 'repo'. so packer will not notice a change, e.g., from 'tj/nlua' to 'telescopicjohnson/nlua'. if you delete the former, quit nvim, add the latter, quit nvim, then packer install you should be good to go.

fwiw, the pull request i just made fixes this also plus a few other things for wiggle room.

keblek commented 3 years ago

thanks for letting me know @klooj!

So I need to uninstall everything and reinstall it?

klooj commented 3 years ago

not everything, just the nlua plugin. so comment out tj/nlua and run packersync. then add newjawn/nlua and run packersync. you'll likely need to exit vim in between.

wantyapps commented 3 years ago

@keblek To uninstall the plugin, remove "use 'tjdevries/nlua.nvim'" (similar, will probably not look the same) re-open nvim, and run the command ":PackerClean". You can now install my fork