1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-18 03:01:38 +03:00
vimr/SwiftNeoVim/NeoVimObjectsExtensions.swift
2017-02-12 13:41:12 +01:00

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)
}