Added vim-dirvish support

Matched VCS format of Netrw to only show branch name.
Filetype hidden as it is a duplicate on the left side.
File encoding hidden as it does not matter in dirvish buffer.
Removed unnecessary current column information
This commit is contained in:
PratikBhusal
2020-05-23 17:50:21 -05:00
parent 3fa0e0ce0c
commit e0838c704a
2 changed files with 45 additions and 0 deletions

View File

@@ -444,6 +444,12 @@ function! airline#extensions#load()
endif
endfor
endif
if exists(':Dirvish')
call airline#extensions#dirvish#init(s:ext)
call add(s:loaded_ext, 'dirvish')
endif
endfunction
function! airline#extensions#get_loaded_extensions()