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 let g:airline_powerline_fonts=0
< <
* define the set of match queries which excludes a window from having its * define the set of filename match queries which excludes a window from having
statusline modified 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 * 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') if !exists('g:airline_modified_detection')
let g:airline_modified_detection=1 let g:airline_modified_detection=1
endif endif
if !exists('g:airline_exclude_windows') if !exists('g:airline_exclude_filenames')
let g:airline_exclude_windows = ['DebuggerWatch','DebuggerStack','DebuggerStatus'] let g:airline_exclude_filenames = ['DebuggerWatch','DebuggerStack','DebuggerStatus']
endif endif
if !exists('g:airline_exclude_filetypes') if !exists('g:airline_exclude_filetypes')
let g:airline_exclude_filetypes = ['qf','netrw','diff','undotree','gundo','nerdtree','tagbar'] let g:airline_exclude_filetypes = ['qf','netrw','diff','undotree','gundo','nerdtree','tagbar']
@ -94,7 +94,7 @@ function! s:is_excluded_window()
return 1 return 1
endif endif
endfor endfor
for matchw in g:airline_exclude_windows for matchw in g:airline_exclude_filenames
if matchstr(expand('%'), matchw) ==# matchw if matchstr(expand('%'), matchw) ==# matchw
return 1 return 1
endif endif