mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-19 04:53:06 +08:00
coc_status should show with autochdir
coc_status should be visible even with autochdir setting on.
This commit is contained in:
parent
91a8ada0f9
commit
332fff9206
|
@ -198,7 +198,7 @@ function! airline#init#sections()
|
|||
endif
|
||||
if !exists('g:airline_section_c')
|
||||
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', 'coc_status'])
|
||||
else
|
||||
let g:airline_section_c = airline#section#create(['%<', 'file', spc, 'readonly', 'coc_status'])
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user