1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:30:05 +08:00
SpaceVim/syntax/SpaceVimFlyGrep.vim
Wang Shidong d6f184f2da Grep on the fly (#705)
* Grep on the fly

* Fix screen update

* Fix commands for prompt

* Supprt <BS> in prompt

* Redrew on stdout

* Fix prompt api

* Improve flygrep screen update

* Add function keys for flygrep buffer

* Add statusline support && ignore case

* Add highlight feature

* Fix highlight error

* Ignore FocusLost and FocusGained

* Add prompt mappings

* Add documentation for fly searching

* Update documentation

* Fix lint for flygrep
2017-07-06 21:59:09 +08:00

9 lines
170 B
VimL

if exists("b:current_syntax")
finish
endif
let b:current_syntax = "SpaceVimFlyGrep"
syntax case ignore
syn match FileName /[^:]*:\d\+:/
hi def link FileName Comment