mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 19:47:41 +03:00
20 lines
304 B
Swift
20 lines
304 B
Swift
/**
|
|
* 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 }))
|
|
}
|
|
}
|
|
|
|
extension Position {
|
|
|
|
public static let beginning = Position(row: 1, column: 1)
|
|
}
|