Skip to content

Commit d1d38d1

Browse files
authored
chore: fix some typos (zyedidia#3239)
Signed-off-by: lvyaoting <[email protected]>
1 parent 467c71d commit d1d38d1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

internal/action/bufpane.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ func (h *BufPane) ResizePane(size int) {
318318
}
319319

320320
// PluginCB calls all plugin callbacks with a certain name and displays an
321-
// error if there is one and returns the aggregrate boolean response
321+
// error if there is one and returns the aggregate boolean response
322322
func (h *BufPane) PluginCB(cb string) bool {
323323
b, err := config.RunPluginFnBool(h.Buf.Settings, cb, luar.New(ulua.L, h))
324324
if err != nil {

internal/buffer/buffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ func (b *Buffer) MergeCursors() {
10111011
b.EventHandler.active = b.curCursor
10121012
}
10131013

1014-
// UpdateCursors updates all the cursors indicies
1014+
// UpdateCursors updates all the cursors indices
10151015
func (b *Buffer) UpdateCursors() {
10161016
b.EventHandler.cursors = b.cursors
10171017
b.EventHandler.active = b.curCursor

internal/info/infobuffer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// The InfoBuf displays messages and other info at the bottom of the screen.
10-
// It is respresented as a buffer and a message with a style.
10+
// It is represented as a buffer and a message with a style.
1111
type InfoBuf struct {
1212
*buffer.Buffer
1313

internal/views/splits.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ func (n *Node) ResizeSplit(size int) bool {
205205
return n.parent.hResizeSplit(ind, size)
206206
}
207207

208-
// Resize sets this node's size and resizes all children accordlingly
208+
// Resize sets this node's size and resizes all children accordingly
209209
func (n *Node) Resize(w, h int) {
210210
n.W, n.H = w, h
211211

runtime/help/colors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ safe and recommended to use subgroups in your custom syntax files.
214214
For example if `constant.string` is found in your colorscheme, micro will us
215215
that for highlighting strings. If it's not found, it will use constant instead.
216216
Micro tries to match the largest set of groups it can find in the colorscheme
217-
definitions, so if, for examle `constant.bool.true` is found then micro will
217+
definitions, so if, for example `constant.bool.true` is found then micro will
218218
use that. If `constant.bool.true` is not found but `constant.bool` is found
219219
micro will use `constant.bool`. If not, it uses `constant`.
220220

0 commit comments

Comments
 (0)