diff options
| author | Ingo Meyer | 2021-12-03 17:13:29 +0100 |
|---|---|---|
| committer | Ingo Meyer | 2021-12-03 17:13:29 +0100 |
| commit | 740b8811790415f921f66190b152cc1f761bfe44 (patch) | |
| tree | 6642017c18877a390b7e2efa27b6472da0b10f0d | |
| parent | fff74986c5439015cf5cc69cf2c6390a40fdd79f (diff) | |
| download | ctrlp.vim-740b8811790415f921f66190b152cc1f761bfe44.tar.gz | |
Fix broken buffertags
This commit fixes GitHub issue #583.
| -rw-r--r-- | autoload/ctrlp/buffertag.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ctrlp/buffertag.vim b/autoload/ctrlp/buffertag.vim index fa52b58..4f75e6d 100644 --- a/autoload/ctrlp/buffertag.vim +++ b/autoload/ctrlp/buffertag.vim @@ -253,7 +253,7 @@ endf fu! ctrlp#buffertag#accept(mode, str) let vals = matchlist(a:str, - \ '\v^[^\t]+\t+[^\t|]+\|(\d+)\:[^\t|]+\|(\d+)\|\s(.+)$') + \ '\v^[^\t]+\t+[^\t|]+\|(\d+)\:[^\t|]+\|(\d+)%(\|[^\t|]+)?\|\s(.+)$') let bufnr = str2nr(get(vals, 1)) if bufnr cal ctrlp#acceptfile(a:mode, bufnr) |