From 6d75740257e49167833505a42d94d23d1f669fff Mon Sep 17 00:00:00 2001 From: Bailey Ling Date: Tue, 2 Jul 2013 07:04:36 -0400 Subject: [PATCH] rename to be more obvious --- doc/airline.txt | 6 +++--- plugin/airline.vim | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/airline.txt b/doc/airline.txt index a74999f..d788991 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -65,10 +65,10 @@ values): let g:airline_powerline_fonts=0 < -* define the set of match queries which excludes a window from having its - statusline modified +* define the set of filename match queries which excludes a window from having + its statusline modified > - let g:airline_exclude_windows = [] " see source for current list + let g:airline_exclude_filenames = [] " see source for current list < * define the set of filetypes which are excluded from having its window diff --git a/plugin/airline.vim b/plugin/airline.vim index 161d472..d8d3148 100644 --- a/plugin/airline.vim +++ b/plugin/airline.vim @@ -30,8 +30,8 @@ endif if !exists('g:airline_modified_detection') let g:airline_modified_detection=1 endif -if !exists('g:airline_exclude_windows') - let g:airline_exclude_windows = ['DebuggerWatch','DebuggerStack','DebuggerStatus'] +if !exists('g:airline_exclude_filenames') + let g:airline_exclude_filenames = ['DebuggerWatch','DebuggerStack','DebuggerStatus'] endif if !exists('g:airline_exclude_filetypes') let g:airline_exclude_filetypes = ['qf','netrw','diff','undotree','gundo','nerdtree','tagbar'] @@ -94,7 +94,7 @@ function! s:is_excluded_window() return 1 endif endfor - for matchw in g:airline_exclude_windows + for matchw in g:airline_exclude_filenames if matchstr(expand('%'), matchw) ==# matchw return 1 endif