aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorTeddy Wing2018-04-07 23:10:15 +0200
committerTeddy Wing2018-04-07 23:10:15 +0200
commitdb6e5083d9f975c3b63ed8506dcedb0c900309b1 (patch)
tree20a42b281789f8bb376f91854a4399f44aef6669 /autoload
parent335e80b618f5fd7667c12ec3c0da8baa39430e3f (diff)
downloadvim-tabs-grep-db6e5083d9f975c3b63ed8506dcedb0c900309b1.tar.bz2
Create `s:FilterTabPageElements()`
Add a function that will filter out "Tab page 10" elements that don't have any files under them. Incomplete for now but I'm committing what I have here because it looks like I'm going to have to change things around just a bit. At the moment, the function will take the list of matched `:tabs` lines, make a list of the indexes of the "Tab page X" elements, and finally remove the empty "Tab page X" elements from that list, leaving only the indexes of those with files under them. Instead what I think I need is a list of the "Tab page X" indexes that don't have files so I can remove these from the list.
Diffstat (limited to 'autoload')
0 files changed, 0 insertions, 0 deletions