fixed highlighting of new help/quickfix windows
This commit is contained in:
parent
e0ea82e1c8
commit
1e8ba64858
|
@ -1 +1,2 @@
|
|||
nmap <buffer> q :q<CR>
|
||||
setlocal statusline=%!GetStatus(1)
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
nmap <buffer> o <CR>
|
||||
nmap <buffer> q :q<CR>
|
||||
|
||||
setlocal statusline=%!GetStatus(1)
|
||||
|
|
|
@ -285,8 +285,10 @@ hi DiffText ctermbg=241 guibg=#606060 cterm=bold gui=bold
|
|||
hi! def link SpellBad CRError
|
||||
hi! def link SpellCap CRWarning
|
||||
|
||||
hi! def link qfFilename InterfaceNormal
|
||||
hi! def link qfLineNr InterfaceH2
|
||||
hi! def link qfFilename CRNoiseBright
|
||||
hi! def link qfLineNr CRNoise
|
||||
hi! def link qfSeparator CRNoiseDark
|
||||
hi! def link qfError InterfaceSignErrorDark
|
||||
|
||||
hi MatchParen ctermfg=255 guifg=#eeeeee ctermbg=241 guibg=#606060
|
||||
|
||||
|
|
1
vimrc
1
vimrc
|
@ -7,4 +7,5 @@ for f in split(glob('/home/ray/.config/vim/vimrc.d/*.vim'), '\n')
|
|||
exe 'source' f
|
||||
endfor
|
||||
|
||||
|
||||
" vim: foldmethod=marker
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
set statusline=%!GetStatus(1)
|
||||
|
||||
" #statusline format
|
||||
|
||||
function! GetStatus(isactive) "{{{
|
||||
|
@ -160,7 +162,7 @@ endfunction "}}}
|
|||
|
||||
augroup status "{{{
|
||||
autocmd!
|
||||
autocmd WinEnter * setlocal statusline=%!GetStatus(1)
|
||||
autocmd WinNew,WinEnter * setlocal statusline=%!GetStatus(1)
|
||||
autocmd WinLeave * setlocal statusline=%!GetStatus(0)
|
||||
" autocmd WinNew * setlocal statusline=%!GetStatus(1)
|
||||
" autocmd InsertChange * setlocal statusline=%!GetStatus(1)
|
||||
|
|
Loading…
Reference in New Issue