diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-10-18 23:16:13 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-18 23:16:13 +0200 |
commit | 657ba62a84de4ae0fd6dbaa2d3c238de4b372669 (patch) | |
tree | c0da195d49d17d40c731ea566940994633874faa /runtime/autoload | |
parent | 869a9078e189ed14284fee7c341d669d8a4611d5 (diff) | |
download | rneovim-657ba62a84de4ae0fd6dbaa2d3c238de4b372669.tar.gz rneovim-657ba62a84de4ae0fd6dbaa2d3c238de4b372669.tar.bz2 rneovim-657ba62a84de4ae0fd6dbaa2d3c238de4b372669.zip |
rplugin: resolve paths in manifest file (#5501)
`:CheckHealth nvim` would always report an outdated manifest if symlinks were
used, because the manifest file contains unresolved paths that get compared
against resolved paths.
Now we resolve paths before they get written to the manifest file.
Diffstat (limited to 'runtime/autoload')
-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 1f30b91ab8..51f7e5886f 100644 --- a/runtime/autoload/remote/host.vim +++ b/runtime/autoload/remote/host.vim @@ -190,7 +190,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 + let paths = map(paths, 'tr(resolve(v:val),"\\","/")') " Normalize slashes #4795 let paths = uniq(sort(paths)) if empty(paths) return [] |