From ad934b5d99c041934ab34992e8b420d4fd9cf576 Mon Sep 17 00:00:00 2001 From: Viacheslav Lotsmanov Date: Wed, 19 Dec 2018 17:30:23 +0300 Subject: [PATCH] Fixed regex in SpaceVimFlyGrep syntax file (#2363) * Fixed regex in SpaceVimFlyGrep syntax file Second number (column?) may not be presented in the FlyGrep output. * Following-HEAD.md: Added FlyGrep syntax fix --- syntax/SpaceVimFlyGrep.vim | 2 +- wiki/en/Following-HEAD.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/syntax/SpaceVimFlyGrep.vim b/syntax/SpaceVimFlyGrep.vim index 0ba74cb44..65250cf99 100644 --- a/syntax/SpaceVimFlyGrep.vim +++ b/syntax/SpaceVimFlyGrep.vim @@ -4,5 +4,5 @@ endif let b:current_syntax = 'SpaceVimFlyGrep' syntax case ignore -syn match FileName /[^:]*:\d\+:\d\+:/ +syn match FileName /[^:]*:\d\+:\(\d\+:\)\?/ hi def link FileName Comment diff --git a/wiki/en/Following-HEAD.md b/wiki/en/Following-HEAD.md index f318d515c..c10242c1e 100644 --- a/wiki/en/Following-HEAD.md +++ b/wiki/en/Following-HEAD.md @@ -39,6 +39,7 @@ The next release is v1.0.0. - Fix dein-ui error, add syntax ([#2352](https://github.com/SpaceVim/SpaceVim/pull/2352), [`c9e1d4c`](https://github.com/SpaceVim/SpaceVim/commit/c9e1d4c9635c483bb3334c00ed36026d18950070)) - Fix fullscreen key binding ([#2351](https://github.com/SpaceVim/SpaceVim/pull/2351)) - Added missed syntax for detached FlyGrep ([#2353](https://github.com/SpaceVim/SpaceVim/pull/2353), [`08d0713`](https://github.com/SpaceVim/SpaceVim/commit/08d0713c4494ca401942a6ca10a48a1ac8484ce1)) +- Fix FlyGrep syntax to support different outputs ([#2363](https://github.com/SpaceVim/SpaceVim/pull/2363), [`0b26f40`](https://github.com/SpaceVim/SpaceVim/commit/0b26f407d879427505418f5c3b4c1d753f3f4317)) ### Removed