diff --git a/autoload/airline/extensions.vim b/autoload/airline/extensions.vim index 3b36ba9..c4534c1 100644 --- a/autoload/airline/extensions.vim +++ b/autoload/airline/extensions.vim @@ -22,7 +22,7 @@ endfunction let s:script_path = tolower(resolve(expand(':p:h'))) let s:filetype_overrides = { - \ 'nerdtree': [ 'NERD', '' ], + \ 'nerdtree': [ get(g:, 'NERDTreeStatusline', 'NERD'), '' ], \ 'gundo': [ 'Gundo', '' ], \ 'vimfiler': [ 'vimfiler', '%{vimfiler#get_status_string()}' ], \ 'minibufexpl': [ 'MiniBufExplorer', '' ], diff --git a/doc/airline.txt b/doc/airline.txt index 352b39a..72f2713 100644 --- a/doc/airline.txt +++ b/doc/airline.txt @@ -403,6 +403,12 @@ vim-bufferline * determine whether bufferline will overwrite customization variables > let g:airline#extensions#bufferline#overwrite_variables = 1 < +------------------------------------- *airline-nerdtree* +NerdTree + +Airline displays the Nerdtree specific statusline (which can be configured using +the |'NerdTreeStatusline'|variable. + ------------------------------------- *airline-fugitiveline* This extension hides the fugitive://**// part of the buffer names, to only show the file name as if it were in the current working tree.