mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-04 19:28:46 +08:00
coc_status should show with autochdir
coc_status should be visible even with autochdir setting on.
This commit is contained in:
1 parent
91a8ada0f9
commit
332fff9206
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user