Skip to content

Commit 5d798ad

Browse files
authored
Merge pull request #584 from IngoMeyer441/fix/broken-buffer-tags
Fix broken buffertags
2 parents fff7498 + 740b881 commit 5d798ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/ctrlp/buffertag.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ endf
253253

254254
fu! ctrlp#buffertag#accept(mode, str)
255255
let vals = matchlist(a:str,
256-
\ '\v^[^\t]+\t+[^\t|]+\|(\d+)\:[^\t|]+\|(\d+)\|\s(.+)$')
256+
\ '\v^[^\t]+\t+[^\t|]+\|(\d+)\:[^\t|]+\|(\d+)%(\|[^\t|]+)?\|\s(.+)$')
257257
let bufnr = str2nr(get(vals, 1))
258258
if bufnr
259259
cal ctrlp#acceptfile(a:mode, bufnr)

0 commit comments

Comments
 (0)