wsdjeg / vim-fetch

Make Vim handle line and column numbers in file names with a minimum of fuss
http://www.vim.org/scripts/script.php?script_id=5089
MIT License
312 stars 17 forks source link

Better grep format handling #24

Closed jreybert closed 5 years ago

jreybert commented 5 years ago

my grep (and git grep) configuration produce the following output: path/to/file:123:some text here

The grepped text follows the last colon, without any space. When I double click on my terminal, it stops at first space, then my following line would be: vim path/to/file:123:some

Current regex pattern recognizes this text as valid, but the len is not valid.

This patch takes into account the potential text following the last colon.

wsdjeg commented 5 years ago

Merged, thanks!