diff --git a/src/segments/swift.go b/src/segments/swift.go index 4b24f187..903975ee 100644 --- a/src/segments/swift.go +++ b/src/segments/swift.go @@ -17,7 +17,7 @@ func (s *Swift) Init(props properties.Properties, env runtime.Environment) { s.language = language{ env: env, props: props, - extensions: []string{"*.swift", "*.SWIFT"}, + extensions: []string{"*.swift", "*.SWIFT", "Podfile"}, commands: []*cmd{ { executable: "swift", diff --git a/website/docs/segments/languages/swift.mdx b/website/docs/segments/languages/swift.mdx index 370d0c5a..06c8e193 100644 --- a/website/docs/segments/languages/swift.mdx +++ b/website/docs/segments/languages/swift.mdx @@ -32,7 +32,7 @@ import Config from "@site/src/components/Config.js"; | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` |