diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-05-22 11:34:24 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-05-22 11:34:24 -0400 |
commit | 46a080015ff83aaf74e26b4517a6620815cfa078 (patch) | |
tree | b799a84d756490790a363625541d87702ab7c09a | |
parent | 34957f7ab96671b1dbea63e074254a97594c4734 (diff) | |
download | rneovim-46a080015ff83aaf74e26b4517a6620815cfa078.tar.gz rneovim-46a080015ff83aaf74e26b4517a6620815cfa078.tar.bz2 rneovim-46a080015ff83aaf74e26b4517a6620815cfa078.zip |
host.vim: s:RegistrationCommands(): Normalize slashes.
Closes #4795
-rw-r--r-- | runtime/autoload/remote/host.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index 8faeaed2ea..a63c6a923b 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -140,6 +140,7 @@ function! s:RegistrationCommands(host) abort call remote#host#RegisterClone(host_id, a:host) let pattern = s:plugin_patterns[a:host] let paths = globpath(&rtp, 'rplugin/'.a:host.'/'.pattern, 0, 1) + let paths = map(paths, 'tr(v:val,"\\","/")') " Normalize slashes #4795 if empty(paths) return [] endif |