dotfiles/config/automatrop/roles/vim/templates/plugins/airline.j2

16 lines
581 B
Plaintext
Raw Normal View History

2021-07-03 14:13:25 +02:00
{{ add_source('vim-airline/vim-airline') -}}
{{ add_source('vim-airline/vim-airline-themes') -}}
set noshowmode
set laststatus=2
let g:airline_powerline_fonts = 1
2021-07-04 22:47:10 +02:00
{% if variant != 'nvim' %}
2021-07-03 14:13:25 +02:00
let g:airline#extensions#tabline#enabled = 1
2021-07-04 22:47:10 +02:00
{% endif %}
2021-07-03 14:13:25 +02:00
let g:airline_section_a = airline#section#create(['mode'])
let g:airline_section_b = airline#section#create(['branch', 'hunks'])
" let g:airline_section_z = airline#section#create(['%B', '@', '%l', ':', '%c'])
let airline#extensions#languageclient#error_symbol = '✖ '
let airline#extensions#languageclient#warning_symbol = '⚠ '