From 46a080015ff83aaf74e26b4517a6620815cfa078 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 22 May 2016 11:34:24 -0400 Subject: host.vim: s:RegistrationCommands(): Normalize slashes. Closes #4795 --- runtime/autoload/remote/host.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/autoload') 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 -- cgit