mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-25 06:55:09 +02:00
use only a slight accent for the active buffer in the bufferline
This commit is contained in:
parent
ee90b7c6b3
commit
fce0e3e8da
@ -39,7 +39,7 @@ endfunction
|
|||||||
function! airline#extensions#load()
|
function! airline#extensions#load()
|
||||||
let g:unite_force_overwrite_statusline = 0
|
let g:unite_force_overwrite_statusline = 0
|
||||||
|
|
||||||
if exists('g:loaded_ctrlp') && g:loaded_ctrlp
|
if get(g:, 'loaded_ctrlp', 0)
|
||||||
call airline#extensions#ctrlp#load_ctrlp_hi()
|
call airline#extensions#ctrlp#load_ctrlp_hi()
|
||||||
let g:ctrlp_status_func = {
|
let g:ctrlp_status_func = {
|
||||||
\ 'main': 'airline#extensions#ctrlp#ctrlp_airline',
|
\ 'main': 'airline#extensions#ctrlp#ctrlp_airline',
|
||||||
@ -47,9 +47,11 @@ function! airline#extensions#load()
|
|||||||
\ }
|
\ }
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if g:airline_enable_bufferline
|
if g:airline_enable_bufferline && get(g:, 'loaded_bufferline', 0)
|
||||||
let g:bufferline_inactive_highlight = 'Al6'
|
highlight AlBl_active gui=bold cterm=bold term=bold
|
||||||
let g:bufferline_active_highlight = 'Al2'
|
highlight link AlBl_inactive Al6
|
||||||
|
let g:bufferline_inactive_highlight = 'AlBl_inactive'
|
||||||
|
let g:bufferline_active_highlight = 'AlBl_active'
|
||||||
let g:bufferline_active_buffer_left = ''
|
let g:bufferline_active_buffer_left = ''
|
||||||
let g:bufferline_active_buffer_right = ''
|
let g:bufferline_active_buffer_right = ''
|
||||||
let g:bufferline_separator = ' '
|
let g:bufferline_separator = ' '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user