diff --git a/autoload/airline/extensions/tabline/unique_tail_improved.vim b/autoload/airline/extensions/tabline/unique_tail_improved.vim index 1b4dfa3..6b13dcf 100644 --- a/autoload/airline/extensions/tabline/unique_tail_improved.vim +++ b/autoload/airline/extensions/tabline/unique_tail_improved.vim @@ -19,6 +19,7 @@ function! airline#extensions#tabline#unique_tail_improved#format(bufnr, buffers) let tokens = reverse(split(substitute(fnamemodify(name, ':p:.:h'), '\\', '/', 'g'), '/')) let token_index = 0 for token in tokens + if token == '' | continue | endif if token == '.' | break | endif if !has_key(path_tokens, token_index) let path_tokens[token_index] = {}