extensions: Add defx support

closes #1850
This commit is contained in:
petobens authored and Christian Brabandt committed 2019-01-11 10:49:31 +01:00
1 parent d68c9bbeb2
commit fa5910eb14
2 files changed
+7

No files matched your search

+4
View File
@@ -217,6 +217,10 @@ function! airline#extensions#load()
let s:filetype_regex_overrides['^int-'] = ['vimshell','%{substitute(&ft, "int-", "", "")}']
endif
if exists(':Defx')
let s:filetype_overrides['defx'] = ['defx', '%{b:defx.paths[0]}']
endif
if get(g:, 'airline#extensions#branch#enabled', 1) && (
\ airline#util#has_fugitive() ||
\ airline#util#has_lawrencium() ||