Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: use proper spelling #6120

Merged
merged 4 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install Go 🗳
uses: ./.github/workflows/composite/bootstrap-go
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: 20.9.0
# Create Kind cluster to have a Kubernetes context for cloud-native-azure theme
Expand Down
2 changes: 1 addition & 1 deletion src/config/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package config
// BlockType type of block
type BlockType string

// BlockAlignment aligment of a Block
// BlockAlignment alignment of a Block
type BlockAlignment string

// Overflow defines how to handle a right block that overflows with the previous block
Expand Down
2 changes: 1 addition & 1 deletion src/config/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func shouldUpdate(cachePath, url string) (string, bool) {

_, err = os.Stat(configPath)
if err != nil {
log.Debug("configfile ", configPath, " doest not exist, updating config")
log.Debug("configfile ", configPath, " does not exist, updating config")
return configPath, true
}

Expand Down
4 changes: 2 additions & 2 deletions src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ require (
github.com/charmbracelet/bubbles v0.20.0
github.com/charmbracelet/bubbletea v1.2.4
github.com/charmbracelet/lipgloss v1.0.0
github.com/goccy/go-json v0.10.4
github.com/goccy/go-json v0.10.5
github.com/goccy/go-yaml v1.15.13
github.com/gookit/goutil v0.6.18
github.com/hashicorp/hcl/v2 v2.23.0
github.com/mattn/go-runewidth v0.0.16
github.com/pelletier/go-toml/v2 v2.2.3
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
github.com/spf13/pflag v1.0.6
golang.org/x/mod v0.22.0
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
7 changes: 4 additions & 3 deletions src/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68=
github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA=
github.com/goccy/go-json v0.10.4 h1:JSwxQzIqKfmFX1swYPpUThQZp/Ka4wzJdK0LWVytLPM=
github.com/goccy/go-json v0.10.4/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
Expand Down Expand Up @@ -139,8 +139,9 @@ github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/path/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Home() string {
return home
}

// fallback to older implemenations on Windows
// fallback to older implementations on Windows
home = os.Getenv("HOMEDRIVE") + os.Getenv("HOMEPATH")

if len(home) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion src/segments/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const (
MappedLocations properties.Property = "mapped_locations"
// MappedLocationsEnabled enables overriding certain locations with an icon
MappedLocationsEnabled properties.Property = "mapped_locations_enabled"
// MaxDepth Maximum path depth to display whithout shortening
// MaxDepth Maximum path depth to display without shortening
MaxDepth properties.Property = "max_depth"
// MaxWidth Maximum path width to display for powerlevel style
MaxWidth properties.Property = "max_width"
Expand Down
2 changes: 1 addition & 1 deletion src/segments/path_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ var testAgnosterPathCases = []testAgnosterPathCase{
PathSeparator: "\\",
},
{
Case: "Windows oustide home",
Case: "Windows outside home",
Expected: "~ > f > f > location",
Home: homeDirWindows,
PWD: homeDirWindows + "\\Documents\\Bill\\location",
Expand Down
4 changes: 2 additions & 2 deletions src/terminal/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ func writeSegmentColors() {
fg = currentColor.Foreground()
}

// ignore processing fully tranparent colors
// ignore processing fully transparent colors
isInvisible = fg.IsTransparent() && bg.IsTransparent()
if isInvisible {
return
Expand Down Expand Up @@ -479,7 +479,7 @@ func writeArchorOverride(match map[string]string, background color.Ansi, i int)

bg, fg := asAnsiColors(bgColor, fgColor)

// ignore processing fully tranparent colors
// ignore processing fully transparent colors
isInvisible = fg.IsTransparent() && bg.IsTransparent()
if isInvisible {
return position
Expand Down