mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 16:56:40 +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)
|
|
}
|