summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorcasswedson <58050969+casswedson@users.noreply.github.com>2022-04-03 15:19:15 -0500
committerJesse Duffield <jessedduffield@gmail.com>2022-04-06 08:52:41 +1000
commitb7928042f0fde73b632e115785e1bbe5d8978139 (patch)
treea39564d0d326c85c15d6f6d789f7d4d87b0ddc85 /pkg/config
parent3b5a019e1a33bbb9b331d44956f98b2b8c4cd5a9 (diff)
chore: typo hunting ft. codespell
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/app_config.go2
-rw-r--r--pkg/config/user_config.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go
index e43ea41a7..d041da61c 100644
--- a/pkg/config/app_config.go
+++ b/pkg/config/app_config.go
@@ -235,7 +235,7 @@ func configFilePath(filename string) (string, error) {
var ConfigFilename = "config.yml"
-// ConfigFilename returns the filename of the deafult config file
+// ConfigFilename returns the filename of the default config file
func (c *AppConfig) ConfigFilename() string {
return filepath.Join(c.UserConfigDir, ConfigFilename)
}
diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go
index 321a7fa5e..d5a142b12 100644
--- a/pkg/config/user_config.go
+++ b/pkg/config/user_config.go
@@ -74,7 +74,7 @@ type GitConfig struct {
OverrideGpg bool `yaml:"overrideGpg"`
DisableForcePushing bool `yaml:"disableForcePushing"`
CommitPrefixes map[string]CommitPrefixConfig `yaml:"commitPrefixes"`
- // this shoudl really be under 'gui', not 'git'
+ // this should really be under 'gui', not 'git'
ParseEmoji bool `yaml:"parseEmoji"`
Log LogConfig `yaml:"log"`
DiffContextSize int `yaml:"diffContextSize"`