Skip to content

Commit b82f9d5

Browse files
authored
docs: fix typo (#160)
1 parent fe20a78 commit b82f9d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nvim/plugin/plugin.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func New(v *nvim.Nvim) *Plugin {
2727
}
2828

2929
// 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.
3131
// err := v.RegisterHandler("specs", func(path string) ([]*pluginSpec, error) {
3232
// return p.pluginSpecs, nil
3333
// })
@@ -75,7 +75,7 @@ func (p *Plugin) handle(fn interface{}, spec *pluginSpec) {
7575
// func([v *nvim.Nvim,] {args}) error
7676
// func([v *nvim.Nvim,] {args})
7777
//
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
7979
// return value. Call the handler from Nvim using the rpcnotify and rpcrequest
8080
// functions:
8181
//
@@ -97,7 +97,7 @@ type FunctionOptions struct {
9797
// alphanumeric characters and '_', and must start with a capital letter.
9898
Name string
9999

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
101101
// handler function.
102102
Eval string
103103
}
@@ -171,7 +171,7 @@ type CommandOptions struct {
171171
// :help :command-range
172172
Range string
173173

174-
// Count specfies that thecommand accepts a count.
174+
// Count specifies that the command accepts a count.
175175
//
176176
// N A count (default N) which is specified either in the line
177177
// number position, or as an initial argument (like |:Next|).
@@ -203,7 +203,7 @@ type CommandOptions struct {
203203
// Bang specifies that the command can take a ! modifier (like :q or :w).
204204
Bang bool
205205

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
207207
// optional register name (like :del, :put, :yank).
208208
Register bool
209209

@@ -303,7 +303,7 @@ type AutocmdOptions struct {
303303
// :help autocmd-once
304304
Once bool
305305

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
307307
// function.
308308
Eval string
309309
}

0 commit comments

Comments
 (0)