OscarCreator / rsync.nvim

neovim plugin which synchronises project with rsync on save.
MIT License
83 stars 12 forks source link

Command to reload project config #83

Closed Dimfred closed 1 year ago

Dimfred commented 1 year ago

I am changing the project config quite often, and would like to have a command to reload the config. I think this should happen by default.

OscarCreator commented 1 year ago

Would multiple hosts per config solve this? See #8

In toml there could be headings for different configs like:

default_syncup_hosts = ["remote1", "remote2"]

[remote1]
remote_path = "path to remote 1"

[remote2]
remote_path = "path to remote 2"

And then there should be a command to switch between these or extra options to for example sync up to both and down from one of them.

Dimfred commented 1 year ago

It's a actually more of a thing that i still sometimes modify the project config and have add a new host while nvim is open. In my PR I added this if I saw correct it's not an issie to reload the config on safe.

OscarCreator commented 1 year ago

This is now solved in #108