From ebedb766dc015e1f79ec8a5808baf2e073aebf1c Mon Sep 17 00:00:00 2001 From: critiqjo Date: Thu, 20 Aug 2015 11:45:51 +0530 Subject: [PATCH] info: fix gzip issue --- plugin/viewdoc_info.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/viewdoc_info.vim b/plugin/viewdoc_info.vim index ef44a23..2696171 100644 --- a/plugin/viewdoc_info.vim +++ b/plugin/viewdoc_info.vim @@ -191,7 +191,7 @@ function s:ParamsToNode(...) endif let sh_args = join(map(args, 'shellescape(v:val)'), ' ') return system(printf('%s %s -o- | head -n 2', g:viewdoc_info_cmd, sh_args) . - \ ' | sed -n ''s/^File: \(.*\)\.info, Node: \([^,]*\),.*/(\1)\2/p''') + \ ' | sed -n ''s/^File: \(.*\)\.info.*, Node: \([^,]*\),.*/(\1)\2/p''') endif endfunction