mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 23:44:55 +01:00
23 lines
300 B
Protocol Buffer
23 lines
300 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package buffer;
|
||
|
|
||
|
service Buffer {
|
||
|
rpc Attach (stream Operation) returns (stream Operation);
|
||
|
}
|
||
|
|
||
|
message Operation {
|
||
|
int64 opId = 1;
|
||
|
|
||
|
enum Action {
|
||
|
RETAIN = 0;
|
||
|
INSERT = 1;
|
||
|
DELETE = 2;
|
||
|
};
|
||
|
Action action = 2;
|
||
|
|
||
|
int32 row = 3;
|
||
|
int32 column = 4;
|
||
|
|
||
|
optional string text = 5;
|
||
|
}
|