mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-15 14:31:57 +08:00
Added function to show line number
The function shows the line number of the first error/warning that appears in the current buffer. If there are 20 warnings and the first warning exists on line 33, then vim-airline would show "W:20(L33)". One can change how the line number is represented using: `g:airline#extensions#ale#open_lnum_symbol` and `airline#extensions#ale#close_lnum_symbol`
This commit is contained in:
committed by
PratikBhusal
parent
4a1f65841c
commit
58328b347c
@@ -987,6 +987,12 @@ ale <https://github.com/w0rp/ale>
|
||||
* ale warning >
|
||||
let airline#extensions#ale#warning_symbol = 'W:'
|
||||
<
|
||||
* ale open_lnum_symbol >
|
||||
let airline#extensions#ale#open_lnum_symbol = '(L'
|
||||
<
|
||||
* ale close_lnum_symbol >
|
||||
let airline#extensions#ale#close_lnum_symbol = ')'
|
||||
<
|
||||
------------------------------------- *airline-neomake*
|
||||
neomake <https://github.com/neomake/neomake>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user