mirror of
https://github.com/gko/vim-coloresque.git
synced 2026-11-07 12:45:59 +08:00
hlsearch fix
This commit is contained in:
1 parent
9459e6af89
commit
a6988af951
2 files changed
+3
-2
No files matched your search
@@ -43,7 +43,7 @@ function! s:RestoreColors()
|
||||
let b:matchescache={}
|
||||
endif
|
||||
|
||||
let b:matchescache[part] = matchadd(group, part)
|
||||
let b:matchescache[part] = matchadd(group, part, -1)
|
||||
endfor
|
||||
endfunction
|
||||
|
||||
@@ -66,7 +66,7 @@ function! s:MatchColorValue(color, pattern, part)
|
||||
if !exists('b:matchescache')
|
||||
let b:matchescache = {}
|
||||
elseif !exists('b:matchescache[a:part]')
|
||||
let b:matchescache[a:part] = matchadd(group, a:part)
|
||||
let b:matchescache[a:part] = matchadd(group, a:part, -1)
|
||||
endif
|
||||
|
||||
return ''
|
||||
|
||||
Reference in new issue
Block a user