@@ -27,7 +27,7 @@ func New(v *nvim.Nvim) *Plugin {
27
27
}
28
28
29
29
// Disable support for "specs" method until path mechanism for supporting
30
- // binary exectables with Nvim is worked out.
30
+ // binary executables with Nvim is worked out.
31
31
// err := v.RegisterHandler("specs", func(path string) ([]*pluginSpec, error) {
32
32
// return p.pluginSpecs, nil
33
33
// })
@@ -75,7 +75,7 @@ func (p *Plugin) handle(fn interface{}, spec *pluginSpec) {
75
75
// func([v *nvim.Nvim,] {args}) error
76
76
// func([v *nvim.Nvim,] {args})
77
77
//
78
- // where {args} is zero or more arguments and {resultType} is the type of of a
78
+ // where {args} is zero or more arguments and {resultType} is the type of a
79
79
// return value. Call the handler from Nvim using the rpcnotify and rpcrequest
80
80
// functions:
81
81
//
@@ -97,7 +97,7 @@ type FunctionOptions struct {
97
97
// alphanumeric characters and '_', and must start with a capital letter.
98
98
Name string
99
99
100
- // Eval is an expression evaluated in Nvim. The result is passed the
100
+ // Eval is an expression evaluated in Nvim. The result is passed to the
101
101
// handler function.
102
102
Eval string
103
103
}
@@ -171,7 +171,7 @@ type CommandOptions struct {
171
171
// :help :command-range
172
172
Range string
173
173
174
- // Count specfies that thecommand accepts a count.
174
+ // Count specifies that the command accepts a count.
175
175
//
176
176
// N A count (default N) which is specified either in the line
177
177
// number position, or as an initial argument (like |:Next|).
@@ -203,7 +203,7 @@ type CommandOptions struct {
203
203
// Bang specifies that the command can take a ! modifier (like :q or :w).
204
204
Bang bool
205
205
206
- // Register specifes that the first argument to the command can be an
206
+ // Register specifies that the first argument to the command can be an
207
207
// optional register name (like :del, :put, :yank).
208
208
Register bool
209
209
@@ -303,7 +303,7 @@ type AutocmdOptions struct {
303
303
// :help autocmd-once
304
304
Once bool
305
305
306
- // Eval is evaluated in Nvim and the result is passed the the handler
306
+ // Eval is evaluated in Nvim and the result is passed to the handler
307
307
// function.
308
308
Eval string
309
309
}
0 commit comments