Skip to content

Commit 4c42f4c

Browse files
committed
Fix parens spec parse pattern
1 parent fe6eb30 commit 4c42f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/fetch.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ endfunction
1313

1414
" - trailing parentheses, i.e. '(lnum[:colnum])'
1515
" trigger with '*([0123456789]*)' pattern
16-
let s:specs.paren = {'pattern': '\m\(\(\d\+\%(:\d\+\)\?\))$'}
16+
let s:specs.paren = {'pattern': '\m(\(\d\+\%(:\d\+\)\?\))$'}
1717
function! s:specs.paren.parse(file) abort
1818
return [substitute(a:file, self.pattern, '', ''),
1919
\ split(matchlist(a:file, self.pattern)[1], ':')]

0 commit comments

Comments
 (0)