Re: Getting background color of Normal highlight group.

2010-10-05 Thread Jürgen Krämer
Hi, Maxim Kim wrote: > > Could anyone point me if there is a way I can find out background > color of Normal highlight group? > > I need it in form of #RRGGBB. > > What I have at the moment: > > > redir => hlstatus > silent hi Normal > redir END > echo matchstr(hlstatus, 'guibg\s*=\s*\zs\S\+

Getting background color of Normal highlight group.

2010-10-05 Thread Maxim Kim
Hi, Could anyone point me if there is a way I can find out background color of Normal highlight group? I need it in form of #RRGGBB. What I have at the moment: redir => hlstatus silent hi Normal redir END echo matchstr(hlstatus, 'guibg\s*=\s*\zs\S\+') It * prints empty string on 'default