mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-27 07:54:44 +02:00
Updated Configuration Examples and Snippets (markdown)
parent
80cc97916d
commit
b837f06ce7
@ -12,7 +12,7 @@ To prevent vim-airline from loading your extension when your plugin is not loade
|
||||
## Dynamically change accent of a vim-airline section (requires [AsyncRun](https://github.com/skywind3000/asyncrun.vim))
|
||||
|
||||
[](https://asciinema.org/a/136184)
|
||||
|
||||
```viml
|
||||
augroup vimrc
|
||||
" Auto rebuild C/C++ project when source file is updated, asynchronously
|
||||
autocmd BufWritePost *.c,*.cpp,*.h
|
||||
@ -69,7 +69,7 @@ To prevent vim-airline from loading your extension when your plugin is not loade
|
||||
|
||||
call airline#parts#define_function('asyncrun_status', 'Get_asyncrun_running')
|
||||
let g:airline_section_x = airline#section#create(['asyncrun_status'])
|
||||
|
||||
```
|
||||
|
||||
## Integration with [vim-obsession](https://github.com/tpope/vim-obsession)
|
||||
Prepend a '$' when obsession is enabled ([origin](https://github.com/vim-airline/vim-airline/issues/777#issuecomment-113704356))
|
||||
|
Loading…
x
Reference in New Issue
Block a user