mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:20:04 +08:00
Fix highlight
This commit is contained in:
parent
ce5333c795
commit
b5df733e54
@ -152,6 +152,7 @@ function! s:start_replace() abort
|
||||
if !empty(replace_text)
|
||||
call SpaceVim#plugins#iedit#start({'expr' : replace_text}, line('w0'), line('w$'))
|
||||
endif
|
||||
let s:hi_id = matchadd('FlyGrepPattern', '\c' . join(split(replace_text), '\|'), 1)
|
||||
redrawstatus
|
||||
endfunction
|
||||
" }}}
|
||||
|
@ -4,5 +4,5 @@ endif
|
||||
let b:current_syntax = "SpaceVimFlyGrep"
|
||||
syntax case ignore
|
||||
|
||||
syn match FileName /[^:]*:\d\+:\d\+:/
|
||||
hi def link FileName Comment
|
||||
call matchadd('FileName', '[^:]*:\d\+:\d\+:', 2)
|
||||
|
Loading…
Reference in New Issue
Block a user