From 9bd2c40e7d58e7d6bf1bba1069cb2c2cf6b8a505 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 25 Aug 2017 07:44:39 +0200 Subject: [PATCH] denite: remove FileType autocommand closes #1540 --- autoload/airline/extensions/denite.vim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/autoload/airline/extensions/denite.vim b/autoload/airline/extensions/denite.vim index 1d0ec7a..41f649d 100644 --- a/autoload/airline/extensions/denite.vim +++ b/autoload/airline/extensions/denite.vim @@ -35,13 +35,5 @@ endfunction function! airline#extensions#denite#init(ext) call denite#custom#option('_', 'statusline', 0) call a:ext.add_statusline_func('airline#extensions#denite#apply') - - " airline#extensions#denite#apply normally gets called only after the - " denite window gets closed, so we have to call airline#update_statusline - " ourselves to make sure it's applied when the window is opened. - augroup airline_denite - autocmd! - autocmd FileType denite call airline#update_statusline() - augroup END endfunction