diff --git a/internal/action/actions.go b/internal/action/actions.go index 9c76d601..7900a917 100644 --- a/internal/action/actions.go +++ b/internal/action/actions.go @@ -9,6 +9,7 @@ import ( "strings" "time" + shellquote "github.com/kballard/go-shellquote" "github.com/zyedidia/micro/v2/internal/buffer" "github.com/zyedidia/micro/v2/internal/clipboard" @@ -1267,15 +1268,12 @@ func (h *BufPane) JumpToMatchingBrace() bool { } else { h.Cursor.GotoLoc(matchingBrace.Move(1, h.Buf)) } - break - } else { - return false + h.Relocate() + return true } } } - - h.Relocate() - return true + return false } // SelectAll selects the entire buffer