mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-25 15:04:44 +02:00
Updated Configuration Examples and Snippets (markdown)
parent
6a6752994c
commit
3a1d2248ca
@ -28,7 +28,7 @@ call airline#add_inactive_statusline_func('Render_Only_File')
|
||||
More information on the use of the `builder` and `context` arguments can be found in `:help` sections [airline-funcrefs](https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt#L784) and [airline-pipeline](https://github.com/vim-airline/vim-airline/blob/master/doc/airline.txt#L819).
|
||||
|
||||
## Human readable Line number (with thousands separators)
|
||||
This adds comma as thousands separator to the line number (issue #1382)
|
||||
This adds comma as thousands separator to the line number (issue [#1382](https://github.com/vim-airline/vim-airline/issues/1382))
|
||||
```viml
|
||||
function! MyLineNumber()
|
||||
return substitute(line('.'), '\d\@<=\(\(\d\{3\}\)\+\)$', ',&', 'g'). ' | '.
|
||||
|
Loading…
x
Reference in New Issue
Block a user