vim-plugins: vim-go: patch go#config#BinPath() instead of the caller

This commit is contained in:
Wael M. Nasreddine 2018-11-05 17:07:54 -08:00
parent 290dd06d14
commit 5ac0ee6ea8
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF

View File

@ -276,8 +276,8 @@ with generated;
in {
postPatch = ''
${gnused}/bin/sed \
-Ee 's@let go_bin_path = go#path#BinPath\(\)@let go_bin_path = "${binPath}"@g' \
-i autoload/go/path.vim
-Ee 's@"go_bin_path", ""@"go_bin_path", "${binPath}"@g' \
-i autoload/go/config.vim
'';
});