Merge pull request #2149 from nomasprime/add_update_highlights_docs

Add update highlights docs
This commit is contained in:
Christian Brabandt 2020-06-09 18:37:14 +02:00 committed by GitHub
commit 90f7210413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -167,6 +167,14 @@ values):
endif
endfunction
<
* if you want to update your highlights without effecting the airline theme,
you can do so using the AirlineAfterTheme autocmd. >
function! s:update_highlights()
hi CursorLine ctermbg=none guibg=none
hi VertSplit ctermbg=none guibg=none
endfunction
autocmd User AirlineAfterTheme call s:update_highlights()
<
* By default, airline will use unicode symbols if your encoding matches
utf-8. If you want the powerline symbols set this variable: >
let g:airline_powerline_fonts = 1