diff options
author | Teddy Wing | 2018-04-07 23:27:55 +0200 |
---|---|---|
committer | Teddy Wing | 2018-04-07 23:27:55 +0200 |
commit | 46bfc1021c9cecf3209c6f58428f73c5c2bc3b25 (patch) | |
tree | 021adef7707391042adeab3648f3faef0c391696 /autoload | |
parent | db6e5083d9f975c3b63ed8506dcedb0c900309b1 (diff) | |
download | vim-tabs-grep-46bfc1021c9cecf3209c6f58428f73c5c2bc3b25.tar.bz2 |
s:FilterTabPageElements(): Filter empty "Tab page X" elements
This function now works the way I want it to, removing the "Tab page X"
headers with no files under them from the `:tabs` list.
We do this by building a list of indexes of those "Tab page X" elements
and then removing them from the original list. The removal happens in
reverse so we don't mess up the indexes by removing from left to right.
Diffstat (limited to 'autoload')
0 files changed, 0 insertions, 0 deletions