diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-08-24 10:17:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 10:17:59 +0200 |
commit | c0157e8fe0b9b25d9004b3f10a0ef5d33e4ff027 (patch) | |
tree | 48fff6cc36d2307a4d98ebe3aed7ae5c80b1e427 | |
parent | e7d020e08fcd32c1374cec6416c0a805cb203c82 (diff) | |
download | rneovim-c0157e8fe0b9b25d9004b3f10a0ef5d33e4ff027.tar.gz rneovim-c0157e8fe0b9b25d9004b3f10a0ef5d33e4ff027.tar.bz2 rneovim-c0157e8fe0b9b25d9004b3f10a0ef5d33e4ff027.zip |
remote/host.vim: specify {nosuf} for globpath() (#8882)
-rw-r--r-- | runtime/autoload/remote/host.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/remote/host.vim b/runtime/autoload/remote/host.vim index dfaab7d246..6266b312bd 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -114,7 +114,7 @@ function! s:RegistrationCommands(host) abort let host_id = a:host.'-registration-clone' 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 = globpath(&rtp, 'rplugin/'.a:host.'/'.pattern, 1, 1) let paths = map(paths, 'tr(resolve(v:val),"\\","/")') " Normalize slashes #4795 let paths = uniq(sort(paths)) if empty(paths) |