Skip to content

Commit

Permalink
doc and comment spelling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored Dec 16, 2021
1 parent 55d7eb4 commit 53340e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ When a window asks for settings, you can enter the following:
* Working directory: `$ProjectFileDir$`
* Environment variables: `GOROOT=$GOROOT$;GOPATH=$GOPATH$;PATH=$GoBinDirs$`

To avoid unecessary runs, you should disable all checkboxes in the *Advanced* section.
To avoid unnecessary runs, you should disable all checkboxes in the *Advanced* section.

#### Vim-go

Expand Down
4 changes: 2 additions & 2 deletions format/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ func (f *fumpter) applyPre(c *astutil.Cursor) {
case *ast.File:
// Join contiguous lone var/const/import lines.
// Abort if there are empty lines or comments in between,
// includng a leading comment, which could be a directive.
// including a leading comment, which could be a directive.
newDecls := make([]ast.Decl, 0, len(node.Decls))
for i := 0; i < len(node.Decls); {
newDecls = append(newDecls, node.Decls[i])
Expand Down Expand Up @@ -934,7 +934,7 @@ func (f *fumpter) mergeAdjacentFields(fields []*ast.Field) []*ast.Field {

// Otherwise, iterate over adjacent pairs of fields, merging if possible,
// and mutating fields. Elements of fields may be mutated (if merged with
// following fields), discarded (if merged with a preceeding field), or left
// following fields), discarded (if merged with a preceding field), or left
// unchanged.
i := 0
for j := 1; j < len(fields); j++ {
Expand Down

0 comments on commit 53340e7

Please sign in to comment.