mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
[DATALAD RUNCMD] run codespell throughout fixing typos automagically
=== Do not change lines below ===
{
"chain": [],
"cmd": "codespell -w",
"exit": 0,
"extra_inputs": [],
"inputs": [],
"outputs": [],
"pwd": "."
}
^^^ Do not change lines above ^^^
Signed-off-by: Yaroslav Halchenko <debian@onerussian.com>
This commit is contained in:
committed by
Stefan Haller
parent
00530477c9
commit
4bbfe7b3cc
@@ -96,7 +96,7 @@ func (self *TextMatcher) IsSelected() *TextMatcher {
|
||||
|
||||
// if the matcher has an `IsSelected` rule, it returns true, along with the matcher after that rule has been removed
|
||||
func (self *TextMatcher) checkIsSelected() (bool, *TextMatcher) {
|
||||
// copying into a new matcher in case we want to re-use the original later
|
||||
// copying into a new matcher in case we want to reuse the original later
|
||||
newMatcher := &TextMatcher{Matcher: &Matcher[string]{}}
|
||||
*newMatcher.Matcher = *self.Matcher
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ func (self *ViewDriver) VisibleLines(matchers ...*TextMatcher) *ViewDriver {
|
||||
return self.assertLines(originY, matchers...)
|
||||
}
|
||||
|
||||
// asserts that somewhere in the view there are consequetive lines matching the given matchers.
|
||||
// asserts that somewhere in the view there are consecutive lines matching the given matchers.
|
||||
func (self *ViewDriver) ContainsLines(matchers ...*TextMatcher) *ViewDriver {
|
||||
self.validateMatchersPassed(matchers)
|
||||
self.validateEnoughLines(matchers)
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
// can be relocated elsewhere if you need them somewhere else. So for example if
|
||||
// I hit enter on a branch I'll see the sub-commits view, but if I then navigate
|
||||
// to the reflog context and hit enter on a reflog, the sub-commits view is moved
|
||||
// to the reflog window. This is because we re-use the same view (it's a limitation
|
||||
// to the reflog window. This is because we reuse the same view (it's a limitation
|
||||
// that would be nice to remove in the future).
|
||||
// Nonetheless, we need to ensure that upon moving the view, the filter is cancelled.
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
// Couldn't find an easy way to actually reproduce the situation of opening outside a repo,
|
||||
// so I'm introducing a hacky env var to force lazygit to show the recent repos meu upon opening.
|
||||
// so I'm introducing a hacky env var to force lazygit to show the recent repos menu upon opening.
|
||||
|
||||
var RecentReposOnLaunch = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Description: "When opening to a menu, focus is correctly given to the menu",
|
||||
|
||||
Reference in New Issue
Block a user