mirror of
https://github.com/osyo-manga/vim-brightest.git
synced 2025-11-10 04:23:52 -05:00
Fix redir highlight.
This commit is contained in:
@@ -161,6 +161,7 @@ function! brightest#parse_cursorline_highlight_group(group)
|
|||||||
redir => hl
|
redir => hl
|
||||||
silent execute "highlight" a:group
|
silent execute "highlight" a:group
|
||||||
redir END
|
redir END
|
||||||
|
let hl = substitute(hl, '\n', '', 'g')
|
||||||
let hl = matchstr(hl, '.*xxx\zs.*')
|
let hl = matchstr(hl, '.*xxx\zs.*')
|
||||||
let guibg = synIDattr(synIDtrans(hlID("CursorLine")), "bg", "gui")
|
let guibg = synIDattr(synIDtrans(hlID("CursorLine")), "bg", "gui")
|
||||||
if guibg != "" && guibg != -1
|
if guibg != "" && guibg != -1
|
||||||
|
|||||||
Reference in New Issue
Block a user