rename to be more obvious

This commit is contained in:
Bailey Ling 2013-07-02 07:04:36 -04:00
parent b17b37956d
commit 6d75740257
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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