mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 07:59:33 +08:00
Remove magic contant for skipped_tabs_marker in tabline calculation
This commit is contained in:
parent
2b0fe51f99
commit
d3ec54d42e
|
@ -104,7 +104,7 @@ function! airline#extensions#tabline#tabs#get()
|
|||
let remaining_space = &columns - s:strchars(s:evaluate_tabline(b.build()))
|
||||
|
||||
let skipped_tabs_marker = get(g:, 'airline#extensions#tabline#overflow_marker', g:airline_symbols.ellipsis)
|
||||
let remaining_space -= 4 + 2 * s:strchars(s:evaluate_tabline(skipped_tabs_marker))
|
||||
let remaining_space -= 2 * s:strchars(s:evaluate_tabline(skipped_tabs_marker))
|
||||
|
||||
" Add the current tab
|
||||
let tab_title = s:get_title(tab_nr_type, curtab)
|
||||
|
|
Loading…
Reference in New Issue
Block a user