1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-25 06:06:21 +03:00
vimr/SwiftNeoVim/NeoVimObjectsExtensions.swift

20 lines
304 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 }))
}
}
2017-02-12 15:41:12 +03:00
extension Position {
public static let beginning = Position(row: 1, column: 1)
}