diff options
| author | mattn | 2021-12-04 11:45:03 +0900 |
|---|---|---|
| committer | GitHub | 2021-12-04 11:45:03 +0900 |
| commit | 5d798ad8ef9844e86dec7bb75c579674bf35cbd9 (patch) | |
| tree | 6642017c18877a390b7e2efa27b6472da0b10f0d | |
| parent | fff74986c5439015cf5cc69cf2c6390a40fdd79f (diff) | |
| parent | 740b8811790415f921f66190b152cc1f761bfe44 (diff) | |
| download | ctrlp.vim-5d798ad8ef9844e86dec7bb75c579674bf35cbd9.tar.gz | |
Merge pull request #584 from IngoMeyer441/fix/broken-buffer-tags
Fix broken buffertags
| -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) |