mirror of
https://github.com/vim-airline/vim-airline-themes
synced 2024-12-14 18:14:43 +00:00
autochdir option is only available in big builds
This commit is contained in:
parent
0138313656
commit
c1fbea46bc
@ -97,7 +97,7 @@ function! airline#init#sections()
|
|||||||
let g:airline_section_b = airline#section#create(['hunks', 'branch'])
|
let g:airline_section_b = airline#section#create(['hunks', 'branch'])
|
||||||
endif
|
endif
|
||||||
if !exists('g:airline_section_c')
|
if !exists('g:airline_section_c')
|
||||||
if &autochdir == 1
|
if exists("+autochdir") && &autochdir == 1
|
||||||
let g:airline_section_c = airline#section#create(['%<', 'path', spc, 'readonly'])
|
let g:airline_section_c = airline#section#create(['%<', 'path', spc, 'readonly'])
|
||||||
else
|
else
|
||||||
let g:airline_section_c = airline#section#create(['%<', 'file', spc, 'readonly'])
|
let g:airline_section_c = airline#section#create(['%<', 'file', spc, 'readonly'])
|
||||||
|
Loading…
Reference in New Issue
Block a user