Skip to content

Commit 499fbc2

Browse files
committed
Merge pull request #38 from critiqjo/info-gzip
info: fix gzip issue
2 parents 28a982d + ebedb76 commit 499fbc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/viewdoc_info.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function s:ParamsToNode(...)
191191
endif
192192
let sh_args = join(map(args, 'shellescape(v:val)'), ' ')
193193
return system(printf('%s %s -o- | head -n 2', g:viewdoc_info_cmd, sh_args) .
194-
\ ' | sed -n ''s/^File: \(.*\)\.info, Node: \([^,]*\),.*/(\1)\2/p''')
194+
\ ' | sed -n ''s/^File: \(.*\)\.info.*, Node: \([^,]*\),.*/(\1)\2/p''')
195195
endif
196196
endfunction
197197

0 commit comments

Comments
 (0)