refactor(nvim): streamline Neovim configuration and plugin management
This commit is contained in:
1 parent
06e0bab7dd
commit
bdf8ad1bb0
27 files changed
+1797
-476
No files matched your search
@@ -0,0 +1,17 @@
|
||||
;; proto
|
||||
syntax = "proto3";
|
||||
package sonr.{{_file_name_}}.v1;
|
||||
|
||||
option go_package = "github.com/sonr-io/sonr/x/{{_file_name_}}/types";
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "cosmos_proto/cosmos.proto";
|
||||
import "amino/amino.proto";
|
||||
|
||||
// {{_variable_}} defines the {{_variable_}} message
|
||||
message {{_variable_}} {
|
||||
option (gogoproto.equal) = true;
|
||||
option (amino.name) = "sonr/{{_file_name_}}/{{_variable_}}";
|
||||
|
||||
{{_cursor_}}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
;; proto
|
||||
syntax = "proto3";
|
||||
package sonr.{{_file_name_}}.v1;
|
||||
|
||||
option go_package = "github.com/sonr-io/sonr/x/{{_file_name_}}/types";
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "cosmos/base/query/v1beta1/pagination.proto";
|
||||
import "cosmos/query/v1/query.proto";
|
||||
|
||||
// Query defines the gRPC querier service
|
||||
service Query {
|
||||
// {{_variable_}} queries the {{_variable_}}
|
||||
rpc {{_variable_}}(Query{{_variable_}}Request) returns (Query{{_variable_}}Response) {
|
||||
option (cosmos.query.v1.module_query_safe) = true;
|
||||
option (google.api.http).get = "/sonr/{{_file_name_}}/v1/{{_variable_}}";
|
||||
}
|
||||
}
|
||||
|
||||
// Query{{_variable_}}Request is the request type for the Query/{{_variable_}} RPC method
|
||||
message Query{{_variable_}}Request {
|
||||
{{_cursor_}}
|
||||
}
|
||||
|
||||
// Query{{_variable_}}Response is the response type for the Query/{{_variable_}} RPC method
|
||||
message Query{{_variable_}}Response {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
;; proto
|
||||
syntax = "proto3";
|
||||
package sonr.{{_file_name_}}.v1;
|
||||
|
||||
option go_package = "github.com/sonr-io/sonr/x/{{_file_name_}}/types";
|
||||
|
||||
import "gogoproto/gogo.proto";
|
||||
import "cosmos_proto/cosmos.proto";
|
||||
import "cosmos/msg/v1/msg.proto";
|
||||
import "amino/amino.proto";
|
||||
|
||||
// Msg defines the {{_file_name_}} Msg service
|
||||
service Msg {
|
||||
option (cosmos.msg.v1.service) = true;
|
||||
|
||||
// {{_variable_}} defines the {{_variable_}} RPC method
|
||||
rpc {{_variable_}}(Msg{{_variable_}}) returns (Msg{{_variable_}}Response);
|
||||
}
|
||||
|
||||
// Msg{{_variable_}} defines the {{_variable_}} message
|
||||
message Msg{{_variable_}} {
|
||||
option (cosmos.msg.v1.signer) = "creator";
|
||||
option (amino.name) = "sonr/{{_file_name_}}/{{_variable_}}";
|
||||
|
||||
string creator = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||
{{_cursor_}}
|
||||
}
|
||||
|
||||
// Msg{{_variable_}}Response defines the {{_variable_}} response
|
||||
message Msg{{_variable_}}Response {}
|
||||
Reference in new issue
Block a user