refactor(nvim): streamline Neovim configuration and plugin management

This commit is contained in:
Prad Nukala committed 2025-10-22 10:59:55 -04:00
1 parent 06e0bab7dd
commit bdf8ad1bb0
27 files changed
+1797 -476

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
;; go
package keeper
import (
"context"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/sonr-io/sonr/x/{{_file_name_}}/types"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
type queryServer struct {
Keeper
}
// NewQueryServerImpl returns an implementation of the {{_camel_case_file_}} QueryServer interface
// for the provided Keeper.
func NewQueryServerImpl(keeper Keeper) types.QueryServer {
return &queryServer{Keeper: keeper}
}
var _ types.QueryServer = queryServer{}
// {{_variable_}} implements types.QueryServer
func (k queryServer) {{_variable_}}(goCtx context.Context, req *types.Query{{_variable_}}Request) (*types.Query{{_variable_}}Response, error) {
if req == nil {
return nil, status.Error(codes.InvalidArgument, "invalid request")
}
ctx := sdk.UnwrapSDKContext(goCtx)
{{_cursor_}}
return &types.Query{{_variable_}}Response{}, nil
}