Added documentation for YCM extenstion

Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
This commit is contained in:
Evgeny Firsov 2016-01-28 00:40:27 -08:00
parent 6d81660fd8
commit 2711863088

View File

@ -225,7 +225,8 @@ section.
let g:airline_section_x (tagbar, filetype, virtualenv)
let g:airline_section_y (fileencoding, fileformat)
let g:airline_section_z (percentage, line number, column number)
let g:airline_section_warning (syntastic, whitespace)
let g:airline_section_error (ycm_error_count)
let g:airline_section_warning (ycm_warning_count, syntastic, whitespace)
" here is an example of how you could replace the branch indicator with
" the current working directory, followed by the filename.
@ -275,7 +276,7 @@ configuration values that you can use.
(first array is the left side, second array is the right side). >
let g:airline#extensions#default#layout = [
\ [ 'a', 'b', 'c' ],
\ [ 'x', 'y', 'z', 'warning' ]
\ [ 'x', 'y', 'z', 'error', 'warning' ]
\ ]
<
------------------------------------- *airline-quickfix*
@ -625,6 +626,17 @@ vim-ctrlspace <https://github.com/szw/vim-ctrlspace>
* enable/disable vim-ctrlspace integration >
let g:airline#extensions#ctrlspace#enabled = 1
<
------------------------------------- *airline-ycm*
YouCompleteMe <https://github.com/Valloric/YouCompleteMe>
Shows number of errors and warnings in the current file detected by YCM.
* set error count prefix >
let g:airline#extensions#ycm#error_symbol = 'E:'
* set warning count prefix >
let g:airline#extensions#ycm#warning_symbol = 'W:'
<
==============================================================================
ADVANCED CUSTOMIZATION *airline-advanced-customization*