Updated Configuration Examples and Snippets (markdown)

Christian Brabandt 2017-01-27 12:07:53 +01:00
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'). ' | '.