blob: dbeb6028e1296a3bb61b0ace6d12e664f181c4c0 [file] [log] [blame]
Skyler Greya7feb6e2022-08-26 06:51:55 +01001set statusline=%t "tail of the filename
2 set statusline+=[%{strlen(&fenc)?&fenc:'none'}, "file encoding
3 set statusline+=%{&ff}] "file format
4 set statusline+=%h "help file flag
5 set statusline+=%m "modified flag
6 set statusline+=%r "read only flag
7 set statusline+=%y "filetype
8 set statusline+=%= "left/right separator
9 set statusline+=%c, "cursor column
10 set statusline+=%l/%L "cursor line/total lines
11 set statusline+=\ %P "percent through file
12" TODO: Check if this is actually used with airline
13
14let g:airline#extensions#hunks#coc_git = 1
15let g:airline#extensions#whitespace#enabled = 1
Skyler Greyce6f7fa2022-09-09 15:07:07 +010016let g:airline#extensions#whitespace#checks = ['indent', 'trailing', 'mixed-indent-file', 'conflicts']
17let g:airline#extensions#whitespace#skip_indent_check_ft =
18 \ {'markdown': ['trailing']}
19
Skyler Greya7feb6e2022-08-26 06:51:55 +010020let g:airline#parts#ffenc#skip_expected_string='utf-8[unix]'
21let g:airline_skip_empty_sections = 1
Skyler Greyce6f7fa2022-09-09 15:07:07 +010022let g:airline#extensions#whitespace#mixed_indent_algo = 2