mirror of
https://github.com/qvacua/vimr.git
synced 2024-09-11 17:15:34 +03:00
Compare commits
30 Commits
e34f905f80
...
724d305168
Author | SHA1 | Date | |
---|---|---|---|
|
724d305168 | ||
|
0d37f294a0 | ||
|
50d70eb46d | ||
|
17f7ec13bd | ||
|
192d0c9429 | ||
|
800f822626 | ||
|
4d49c15429 | ||
|
f2a2659c36 | ||
|
f635524b1c | ||
|
9292d751e4 | ||
|
c4b5a3df1d | ||
|
56be37a1d1 | ||
|
972235ca5b | ||
|
52ae48be2a | ||
|
bf89439ad4 | ||
|
b74dca4092 | ||
|
a23109ec84 | ||
|
048f0ae4a2 | ||
|
2f22869f9a | ||
|
f9931cb083 | ||
|
6c63e7694b | ||
|
23a86134ab | ||
|
db39dcb31e | ||
|
a677419cca | ||
|
fcc2e5c2da | ||
|
16fd05b06f | ||
|
80945855b8 | ||
|
7ffdd3bcd0 | ||
|
688a1c5c5d | ||
|
5c632d5248 |
@ -44,7 +44,7 @@ then continuously invoke the `build_nvimserver_for_local_dev` script.
|
||||
create a release and upload it.
|
||||
* Build the `arm64` version locally and upload it:
|
||||
```bash
|
||||
download_gettext=true clean=true build_libnvim=true ./NvimServer/bin/build_nvimserver.sh
|
||||
clean=true build_libnvim=true ./NvimServer/bin/build_nvimserver.sh
|
||||
```
|
||||
* Build a universal binary by the following and upload the artefact:
|
||||
```bash
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d6cee7824734cf82a8d72ab8305d2ac8a35a37b9
|
||||
Subproject commit f42fde64d27b4e4470159cf54440c6c6c0f72907
|
@ -1,4 +1,4 @@
|
||||
// Auto generated for nvim v0.6.1
|
||||
// Auto generated for nvim v0.7.0
|
||||
// See bin/generate_autocmds.py
|
||||
|
||||
enum NvimAutoCommandEvent: Int {
|
||||
@ -43,81 +43,86 @@ enum NvimAutoCommandEvent: Int {
|
||||
case diagnosticchanged = 37
|
||||
case diffupdated = 38
|
||||
case dirchanged = 39
|
||||
case encodingchanged = 40
|
||||
case exitpre = 41
|
||||
case fileappendcmd = 42
|
||||
case fileappendpost = 43
|
||||
case fileappendpre = 44
|
||||
case filechangedro = 45
|
||||
case filechangedshell = 46
|
||||
case filechangedshellpost = 47
|
||||
case filereadcmd = 48
|
||||
case filereadpost = 49
|
||||
case filereadpre = 50
|
||||
case filetype = 51
|
||||
case filewritecmd = 52
|
||||
case filewritepost = 53
|
||||
case filewritepre = 54
|
||||
case filterreadpost = 55
|
||||
case filterreadpre = 56
|
||||
case filterwritepost = 57
|
||||
case filterwritepre = 58
|
||||
case focusgained = 59
|
||||
case focuslost = 60
|
||||
case funcundefined = 61
|
||||
case guienter = 62
|
||||
case guifailed = 63
|
||||
case insertchange = 64
|
||||
case insertcharpre = 65
|
||||
case insertenter = 66
|
||||
case insertleave = 67
|
||||
case insertleavepre = 68
|
||||
case menupopup = 69
|
||||
case optionset = 70
|
||||
case quickfixcmdpost = 71
|
||||
case quickfixcmdpre = 72
|
||||
case quitpre = 73
|
||||
case remotereply = 74
|
||||
case sessionloadpost = 75
|
||||
case shellcmdpost = 76
|
||||
case shellfilterpost = 77
|
||||
case signal = 78
|
||||
case sourcecmd = 79
|
||||
case sourcepost = 80
|
||||
case sourcepre = 81
|
||||
case spellfilemissing = 82
|
||||
case stdinreadpost = 83
|
||||
case stdinreadpre = 84
|
||||
case swapexists = 85
|
||||
case syntax = 86
|
||||
case tabclosed = 87
|
||||
case tabenter = 88
|
||||
case tableave = 89
|
||||
case tabnew = 90
|
||||
case tabnewentered = 91
|
||||
case termchanged = 92
|
||||
case termclose = 93
|
||||
case termenter = 94
|
||||
case termleave = 95
|
||||
case termopen = 96
|
||||
case termresponse = 97
|
||||
case textchanged = 98
|
||||
case textchangedi = 99
|
||||
case textchangedp = 100
|
||||
case textyankpost = 101
|
||||
case uienter = 102
|
||||
case uileave = 103
|
||||
case user = 104
|
||||
case vimenter = 105
|
||||
case vimleave = 106
|
||||
case vimleavepre = 107
|
||||
case vimresized = 108
|
||||
case vimresume = 109
|
||||
case vimsuspend = 110
|
||||
case winclosed = 111
|
||||
case winenter = 112
|
||||
case winleave = 113
|
||||
case winnew = 114
|
||||
case winscrolled = 115
|
||||
case dirchangedpre = 40
|
||||
case encodingchanged = 41
|
||||
case exitpre = 42
|
||||
case fileappendcmd = 43
|
||||
case fileappendpost = 44
|
||||
case fileappendpre = 45
|
||||
case filechangedro = 46
|
||||
case filechangedshell = 47
|
||||
case filechangedshellpost = 48
|
||||
case filereadcmd = 49
|
||||
case filereadpost = 50
|
||||
case filereadpre = 51
|
||||
case filetype = 52
|
||||
case filewritecmd = 53
|
||||
case filewritepost = 54
|
||||
case filewritepre = 55
|
||||
case filterreadpost = 56
|
||||
case filterreadpre = 57
|
||||
case filterwritepost = 58
|
||||
case filterwritepre = 59
|
||||
case focusgained = 60
|
||||
case focuslost = 61
|
||||
case funcundefined = 62
|
||||
case guienter = 63
|
||||
case guifailed = 64
|
||||
case insertchange = 65
|
||||
case insertcharpre = 66
|
||||
case insertenter = 67
|
||||
case insertleave = 68
|
||||
case insertleavepre = 69
|
||||
case menupopup = 70
|
||||
case modechanged = 71
|
||||
case optionset = 72
|
||||
case quickfixcmdpost = 73
|
||||
case quickfixcmdpre = 74
|
||||
case quitpre = 75
|
||||
case recordingenter = 76
|
||||
case recordingleave = 77
|
||||
case remotereply = 78
|
||||
case searchwrapped = 79
|
||||
case sessionloadpost = 80
|
||||
case shellcmdpost = 81
|
||||
case shellfilterpost = 82
|
||||
case signal = 83
|
||||
case sourcecmd = 84
|
||||
case sourcepost = 85
|
||||
case sourcepre = 86
|
||||
case spellfilemissing = 87
|
||||
case stdinreadpost = 88
|
||||
case stdinreadpre = 89
|
||||
case swapexists = 90
|
||||
case syntax = 91
|
||||
case tabclosed = 92
|
||||
case tabenter = 93
|
||||
case tableave = 94
|
||||
case tabnew = 95
|
||||
case tabnewentered = 96
|
||||
case termchanged = 97
|
||||
case termclose = 98
|
||||
case termenter = 99
|
||||
case termleave = 100
|
||||
case termopen = 101
|
||||
case termresponse = 102
|
||||
case textchanged = 103
|
||||
case textchangedi = 104
|
||||
case textchangedp = 105
|
||||
case textyankpost = 106
|
||||
case uienter = 107
|
||||
case uileave = 108
|
||||
case user = 109
|
||||
case vimenter = 110
|
||||
case vimleave = 111
|
||||
case vimleavepre = 112
|
||||
case vimresized = 113
|
||||
case vimresume = 114
|
||||
case vimsuspend = 115
|
||||
case winclosed = 116
|
||||
case winenter = 117
|
||||
case winleave = 118
|
||||
case winnew = 119
|
||||
case winscrolled = 120
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto generated for nvim v0.6.1
|
||||
// Auto generated for nvim v0.7.0
|
||||
// See bin/generate_cursor_shape.py
|
||||
|
||||
public enum CursorModeShape: UInt {
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Auto generated for nvim version 0.6.1.
|
||||
// Auto generated for nvim version 0.7.0.
|
||||
// See bin/generate_api_methods.py
|
||||
|
||||
import Foundation
|
||||
@ -41,6 +41,212 @@ extension RxNeovimApi {
|
||||
|
||||
extension RxNeovimApi {
|
||||
|
||||
public func getAutocmds(
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<RxNeovimApi.Value> {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
func transform(_ value: Value) throws -> RxNeovimApi.Value {
|
||||
guard let result = (Optional(value)) else {
|
||||
throw RxNeovimApi.Error.conversion(type: RxNeovimApi.Value.self)
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if errWhenBlocked {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_get_autocmds", params: params, expectsReturnValue: true)
|
||||
)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_get_autocmds", params: params, expectsReturnValue: true)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func createAutocmd(
|
||||
event: RxNeovimApi.Value,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<Int> {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
event,
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
func transform(_ value: Value) throws -> Int {
|
||||
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
|
||||
throw RxNeovimApi.Error.conversion(type: Int.self)
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if errWhenBlocked {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_create_autocmd", params: params, expectsReturnValue: true)
|
||||
)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_create_autocmd", params: params, expectsReturnValue: true)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func delAutocmd(
|
||||
id: Int,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.int(Int64(id)),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_del_autocmd", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_del_autocmd", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func clearAutocmds(
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_clear_autocmds", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_clear_autocmds", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func createAugroup(
|
||||
name: String,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<Int> {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
func transform(_ value: Value) throws -> Int {
|
||||
guard let result = ((value.int64Value == nil ? nil : Int(value.int64Value!))) else {
|
||||
throw RxNeovimApi.Error.conversion(type: Int.self)
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if errWhenBlocked {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_create_augroup", params: params, expectsReturnValue: true)
|
||||
)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_create_augroup", params: params, expectsReturnValue: true)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func delAugroupById(
|
||||
id: Int,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.int(Int64(id)),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_del_augroup_by_id", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_del_augroup_by_id", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func delAugroupByName(
|
||||
name: String,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_del_augroup_by_name", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_del_augroup_by_name", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func execAutocmds(
|
||||
event: RxNeovimApi.Value,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
event,
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_exec_autocmds", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_exec_autocmds", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func bufLineCount(
|
||||
buffer: RxNeovimApi.Buffer,
|
||||
errWhenBlocked: Bool = true
|
||||
@ -233,6 +439,46 @@ extension RxNeovimApi {
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func bufGetText(
|
||||
buffer: RxNeovimApi.Buffer,
|
||||
start_row: Int,
|
||||
start_col: Int,
|
||||
end_row: Int,
|
||||
end_col: Int,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<[String]> {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.int(Int64(buffer.handle)),
|
||||
.int(Int64(start_row)),
|
||||
.int(Int64(start_col)),
|
||||
.int(Int64(end_row)),
|
||||
.int(Int64(end_col)),
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
func transform(_ value: Value) throws -> [String] {
|
||||
guard let result = (value.arrayValue?.compactMap({ v in v.stringValue })) else {
|
||||
throw RxNeovimApi.Error.conversion(type: [String].self)
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if errWhenBlocked {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_buf_get_text", params: params, expectsReturnValue: true)
|
||||
)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_buf_get_text", params: params, expectsReturnValue: true)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func bufGetOffset(
|
||||
buffer: RxNeovimApi.Buffer,
|
||||
index: Int,
|
||||
@ -827,6 +1073,58 @@ extension RxNeovimApi {
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func bufCreateUserCommand(
|
||||
buffer: RxNeovimApi.Buffer,
|
||||
name: String,
|
||||
command: RxNeovimApi.Value,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.int(Int64(buffer.handle)),
|
||||
.string(name),
|
||||
command,
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_buf_create_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_buf_create_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func bufDelUserCommand(
|
||||
buffer: RxNeovimApi.Buffer,
|
||||
name: String,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.int(Int64(buffer.handle)),
|
||||
.string(name),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_buf_del_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_buf_del_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func createNamespace(
|
||||
name: String,
|
||||
errWhenBlocked: Bool = true
|
||||
@ -1620,14 +1918,14 @@ extension RxNeovimApi {
|
||||
public func feedkeys(
|
||||
keys: String,
|
||||
mode: String,
|
||||
escape_csi: Bool,
|
||||
escape_ks: Bool,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(keys),
|
||||
.string(mode),
|
||||
.bool(escape_csi),
|
||||
.bool(escape_ks),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
@ -2152,6 +2450,64 @@ extension RxNeovimApi {
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func getOptionValue(
|
||||
name: String,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<RxNeovimApi.Value> {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
func transform(_ value: Value) throws -> RxNeovimApi.Value {
|
||||
guard let result = (Optional(value)) else {
|
||||
throw RxNeovimApi.Error.conversion(type: RxNeovimApi.Value.self)
|
||||
}
|
||||
|
||||
return result
|
||||
}
|
||||
|
||||
if errWhenBlocked {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_get_option_value", params: params, expectsReturnValue: true)
|
||||
)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_get_option_value", params: params, expectsReturnValue: true)
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func setOptionValue(
|
||||
name: String,
|
||||
value: RxNeovimApi.Value,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
value,
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_set_option_value", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_set_option_value", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func getAllOptionsInfo(
|
||||
errWhenBlocked: Bool = true
|
||||
) -> Single<Dictionary<String, RxNeovimApi.Value>> {
|
||||
@ -3368,6 +3724,54 @@ extension RxNeovimApi {
|
||||
.map(transform)
|
||||
}
|
||||
|
||||
public func createUserCommand(
|
||||
name: String,
|
||||
command: RxNeovimApi.Value,
|
||||
opts: Dictionary<String, RxNeovimApi.Value>,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
command,
|
||||
.map(opts.mapToDict({ (Value.string($0), $1) })),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_create_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_create_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func delUserCommand(
|
||||
name: String,
|
||||
expectsReturnValue: Bool = false
|
||||
) -> Completable {
|
||||
|
||||
let params: [RxNeovimApi.Value] = [
|
||||
.string(name),
|
||||
]
|
||||
|
||||
if expectsReturnValue {
|
||||
return self
|
||||
.checkBlocked(
|
||||
self.rpc(method: "nvim_del_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
return self
|
||||
.rpc(method: "nvim_del_user_command", params: params, expectsReturnValue: expectsReturnValue)
|
||||
.asCompletable()
|
||||
}
|
||||
|
||||
public func exec(
|
||||
src: String,
|
||||
output: Bool,
|
||||
|
@ -1 +1 @@
|
||||
v0.6.1
|
||||
nightly
|
||||
|
@ -1153,7 +1153,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "-";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 20220330.224200;
|
||||
CURRENT_PROJECT_VERSION = 20220416.182927;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
ENABLE_TESTABILITY = YES;
|
||||
@ -1214,7 +1214,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
CODE_SIGN_IDENTITY = "-";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 20220330.224200;
|
||||
CURRENT_PROJECT_VERSION = 20220416.182927;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
ENABLE_NS_ASSERTIONS = NO;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
@ -1243,7 +1243,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 20220330.224200;
|
||||
CURRENT_PROJECT_VERSION = 20220416.182927;
|
||||
DEFINES_MODULE = YES;
|
||||
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/.deps/include";
|
||||
IBC_MODULE = VimR;
|
||||
@ -1271,7 +1271,7 @@
|
||||
buildSettings = {
|
||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
CURRENT_PROJECT_VERSION = 20220330.224200;
|
||||
CURRENT_PROJECT_VERSION = 20220416.182927;
|
||||
DEFINES_MODULE = YES;
|
||||
HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/.deps/include";
|
||||
IBC_MODULE = VimR;
|
||||
|
@ -1224,7 +1224,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>SNAPSHOT-20220330.224200</string>
|
||||
<string>0.39.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
@ -1241,7 +1241,7 @@
|
||||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>20220330.224200</string>
|
||||
<string>20220416.182927</string>
|
||||
<key>LSApplicationCategoryType</key>
|
||||
<string>public.app-category.productivity</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
|
@ -15,10 +15,10 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>BNDL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>SNAPSHOT-20220330.224200</string>
|
||||
<string>0.39.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>20220330.224200</string>
|
||||
<string>20220416.182927</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
20
appcast.xml
20
appcast.xml
@ -6,24 +6,24 @@
|
||||
<description>Most recent changes with links to updates for VimR.</description>
|
||||
<language>en</language>
|
||||
<item>
|
||||
<title>v0.38.2-20220322.180037</title>
|
||||
<title>v0.39.0-20220416.182927</title>
|
||||
<link>https://twitter.com/vimrefined</link>
|
||||
<sparkle:version>20220322.180037</sparkle:version>
|
||||
<sparkle:shortVersionString>v0.38.2</sparkle:shortVersionString>
|
||||
<sparkle:version>20220416.182927</sparkle:version>
|
||||
<sparkle:shortVersionString>v0.39.0</sparkle:shortVersionString>
|
||||
<description><![CDATA[
|
||||
<ul>
|
||||
<li>GH-923: Bugfix: Input method auto-switch is not handled correctly. Thanks @SolaWing for the PR!</li>
|
||||
<li>Dependencies updates:</li>
|
||||
<li>sparkle-project/Sparkle@2.1.0</li>
|
||||
<li>Neovim 0.7.0 😀</li>
|
||||
<li>GH-922: Add an option to set font smoothing.</li>
|
||||
<li>GH-928: Bugfix: Files containing some special characters in their names cannot be opened.</li>
|
||||
</ul>
|
||||
]]></description>
|
||||
<releaseNotesLink>
|
||||
https://github.com/qvacua/vimr/releases/tag/v0.38.2-20220322.180037
|
||||
https://github.com/qvacua/vimr/releases/tag/v0.39.0-20220416.182927
|
||||
</releaseNotesLink>
|
||||
<pubDate>2022-03-22T18:11:14.469533</pubDate>
|
||||
<pubDate>2022-04-16T18:43:41.274166</pubDate>
|
||||
<minimumSystemVersion>10.13.0</minimumSystemVersion>
|
||||
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.38.2-20220322.180037/VimR-v0.38.2.tar.bz2"
|
||||
sparkle:edSignature="5BHazAjBSiSSb0AmKoU4VA3+5Vuq6EEfVYi+To8AtRIDDpJQOgsPfO7OfPAjNrQ0l242FB/mnu4rgVjtIkXfBQ==" length="20900652"
|
||||
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.39.0-20220416.182927/VimR-v0.39.0.tar.bz2"
|
||||
sparkle:edSignature="Q5XobuaNiJUk8pFNsCwT+fUX4DnmHcKuWXosQj3imOb0UHY+EdWhyqgK0ERDQ51pSonerMZxJ0C+nolcCdXfBQ==" length="20982344"
|
||||
type="application/octet-stream"/>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -6,23 +6,24 @@
|
||||
<description>Most recent changes with links to updates for VimR.</description>
|
||||
<language>en</language>
|
||||
<item>
|
||||
<title>SNAPSHOT-20220330.224200</title>
|
||||
<title>v0.39.0-20220416.182927</title>
|
||||
<link>https://twitter.com/vimrefined</link>
|
||||
<sparkle:version>20220330.224200</sparkle:version>
|
||||
<sparkle:shortVersionString>SNAPSHOT-20220330.224200</sparkle:shortVersionString>
|
||||
<sparkle:version>20220416.182927</sparkle:version>
|
||||
<sparkle:shortVersionString>v0.39.0</sparkle:shortVersionString>
|
||||
<description><![CDATA[
|
||||
<p>Since last snapshot:</p>
|
||||
<ul>
|
||||
<li>GH-928: Bugfix: Files containing some special characters in their names cannot be opened</li>
|
||||
<ul>
|
||||
<li>Neovim 0.7.0 😀</li>
|
||||
<li>GH-922: Add an option to set font smoothing.</li>
|
||||
<li>GH-928: Bugfix: Files containing some special characters in their names cannot be opened.</li>
|
||||
</ul>
|
||||
]]></description>
|
||||
<releaseNotesLink>
|
||||
https://github.com/qvacua/vimr/releases/tag/snapshot/20220330.224200
|
||||
https://github.com/qvacua/vimr/releases/tag/v0.39.0-20220416.182927
|
||||
</releaseNotesLink>
|
||||
<pubDate>2022-03-30T22:53:54.541584</pubDate>
|
||||
<pubDate>2022-04-16T18:43:41.274166</pubDate>
|
||||
<minimumSystemVersion>10.13.0</minimumSystemVersion>
|
||||
<enclosure url="https://github.com/qvacua/vimr/releases/download/snapshot/20220330.224200/VimR-SNAPSHOT-20220330.224200.tar.bz2"
|
||||
sparkle:edSignature="gQZfTIjg5SnMlR22+WzIiNZGxveEcTbtJO7o16zc4qXbwzbsXWVQ7g7yoBLzYO7dydPu65d93rMcn5QQ+IpqBQ==" length="20913311"
|
||||
<enclosure url="https://github.com/qvacua/vimr/releases/download/v0.39.0-20220416.182927/VimR-v0.39.0.tar.bz2"
|
||||
sparkle:edSignature="Q5XobuaNiJUk8pFNsCwT+fUX4DnmHcKuWXosQj3imOb0UHY+EdWhyqgK0ERDQ51pSonerMZxJ0C+nolcCdXfBQ==" length="20982344"
|
||||
type="application/octet-stream"/>
|
||||
</item>
|
||||
</channel>
|
||||
|
@ -116,9 +116,9 @@ main() {
|
||||
|
||||
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
|
||||
|
||||
# check_version
|
||||
# prepare_bin
|
||||
# build_release
|
||||
check_version
|
||||
prepare_bin
|
||||
build_release
|
||||
|
||||
if [[ "${create_gh_release}" == true ]]; then
|
||||
create_gh_release
|
||||
|
@ -26,7 +26,6 @@ main() {
|
||||
if [[ "${is_snapshot}" == true ]]; then
|
||||
marketing_version="SNAPSHOT-${bundle_version}"
|
||||
fi
|
||||
readonly marketing_version
|
||||
|
||||
pushd VimR >/dev/null
|
||||
agvtool new-version -all "${bundle_version}"
|
||||
@ -47,10 +46,12 @@ main() {
|
||||
tag="v${marketing_version}-${bundle_version}"
|
||||
github_release_name="$tag"
|
||||
version_marker="release"
|
||||
marketing_version="v${marketing_version}"
|
||||
fi
|
||||
readonly tag
|
||||
readonly github_release_name
|
||||
readonly version_marker
|
||||
readonly marketing_version
|
||||
|
||||
local output
|
||||
output=$(cat <<-END
|
||||
|
@ -5,6 +5,6 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"vimrDeps": "vimr-deps-2021-12-12",
|
||||
"nvimServer": "nvimserver-0.6.1-1"
|
||||
"nvimServer": "nvimserver-0.7.0-0"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Next
|
||||
# 0.39.0-20220416.182927
|
||||
|
||||
* Neovim 0.7.0 😀
|
||||
* GH-922: Add an option to set font smoothing.
|
||||
* GH-928: Bugfix: Files containing some special characters in their names cannot be opened.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user