mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-09 21:12:22 +08:00
Fix the formatting of syntastic error messages
The magic flags were in the wrong order, %e is the number of errors, it should go in the parentheses after the # symbol. %fe is the line number of the first error. Same for the warnings.
This commit is contained in:
@@ -770,13 +770,13 @@ syntastic <https://github.com/vim-syntastic/syntastic>
|
||||
let airline#extensions#syntastic#error_symbol = 'E:'
|
||||
<
|
||||
* syntastic statusline error format (see |syntastic_stl_format|) >
|
||||
let airline#extensions#syntastic#stl_format_err = '%E{[%e(#%fe)]}'
|
||||
let airline#extensions#syntastic#stl_format_err = '%E{[%fe(#%e)]}'
|
||||
|
||||
* syntastic warning >
|
||||
let airline#extensions#syntastic#warning_symbol = 'W:'
|
||||
<
|
||||
* syntastic statusline warning format (see |syntastic_stl_format|) >
|
||||
let airline#extensions#syntastic#stl_format_warn = '%W{[%w(#%fw)]}'
|
||||
let airline#extensions#syntastic#stl_format_warn = '%W{[%fw(#%w)]}'
|
||||
<
|
||||
------------------------------------- *airline-tabline*
|
||||
Note: If you're using the ctrlspace tabline only the option marked with (c)
|
||||
|
||||
Reference in New Issue
Block a user