-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-standard config path in local #137
Comments
Thanks for reporting this! I am able to reproduce the issue. Will push out a fix soon. |
Hey, I pushed out a fix and released it in v0.3.9. Let me know if you are able to work with it now. Your updated configuration should look like: remote = {
app_name = "weird-nvim",
-- List of directories that should be copied over
copy_dirs = {
config = {
base = "<path-to-weird-nvim>",
}
} Moved |
It seems if sub-dirs are specified, they are not copied to the correct path on remote? For example, the following config remote = {
app_name = "weird-nvim",
copy_dirs = {
config = {
base = "<path-to-weird-nvim>",
dirs = {"lonely-dir"},
}
} would result in an empty |
Sorry, did not see your message come in. Was able to reproduce this. I would implement and push the fix in the next couple of hours. The earlier fix broke this behavior apparently 😢 |
Hi, thanks for being patient. I merged a fix so both the scenarios work Ok now. Let me know if you still see any issues. |
That looks great! Thank you! |
Is your feature request related to a problem? Please describe.
Having a non-standard config path in local machine prevents loading the config on remote. For example, if the path to the config is
~/.config/weird_nvim/
, then after copying the config over, there will be two directories on remote:~/.remote-nvim/workspaces/[workspace_tag]/.config/weird_nvim/
, this is the copied config folder from local, and~/.remote-nvim/workspaces/[workspace_tag]/.config/nvim/
, this is the empty default config folder. Remote-nvim will load from this instead of the other folder.Describe the solution you'd like
Specifying with remote config folder to load. This is similar to
NVIM_APPNAME
. For example,The text was updated successfully, but these errors were encountered: