1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-20 20:21:58 +03:00
vimr/SwiftNeoVim/NeoVimObjectsExtensions.swift

15 lines
219 B
Swift
Raw Normal View History

2016-10-23 12:43:21 +03:00
/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Foundation
extension NeoVimTab {
public func allBuffers() -> [NeoVimBuffer] {
return Array(Set(self.windows.map { $0.buffer }))
}
}