From b5a275d46d0f2cca411261f94a54aa80a795594e Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 15 Mar 2017 01:13:53 +0900 Subject: [PATCH] Updated extra (markdown) --- extra.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra.md b/extra.md index 1675aa5..f9d5e59 100644 --- a/extra.md +++ b/extra.md @@ -32,7 +32,7 @@ Press `gx` to open the GitHub URL for a plugin or a commit with the default brow ```vim function! s:plug_gx() let line = getline('.') - let sha = matchstr(line, '^ \X*\zs\x\{7}\ze ') + let sha = matchstr(line, '^ \X*\zs\x\{7,9}\ze ') let name = empty(sha) ? matchstr(line, '^[-x+] \zs[^:]\+\ze:') \ : getline(search('^- .*:$', 'bn'))[2:-2] let uri = get(get(g:plugs, name, {}), 'uri', '')