diff --git a/src/segments/elixir.go b/src/segments/elixir.go index 05b57a54..8589a9ab 100644 --- a/src/segments/elixir.go +++ b/src/segments/elixir.go @@ -17,7 +17,7 @@ func (e *Elixir) Init(props properties.Properties, env platform.Environment) { e.language = language{ env: env, props: props, - extensions: []string{"*.ex"}, + extensions: []string{"*.ex", "*.exs"}, commands: []*cmd{ { executable: "elixir", diff --git a/website/docs/segments/elixir.mdx b/website/docs/segments/elixir.mdx index 0828a73f..4303972f 100644 --- a/website/docs/segments/elixir.mdx +++ b/website/docs/segments/elixir.mdx @@ -23,13 +23,13 @@ Display the currently active elixir version. ## Properties -| Name | Type | Description | -| ---------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `home_enabled` | `boolean` | display the segment in the HOME folder or not - defaults to `false` | -| `fetch_version` | `boolean` | fetch the flutter version - defaults to `true` | -| `missing_command_text` | `string` | text to display when the command is missing - defaults to empty | -| `display_mode` | `string` | | -| `version_url_template` | `string` | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | +| Name | Type | Description | +| ---------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `home_enabled` | `boolean` | display the segment in the HOME folder or not - defaults to `false` | +| `fetch_version` | `boolean` | fetch the flutter version - defaults to `true` | +| `missing_command_text` | `string` | text to display when the command is missing - defaults to empty | +| `display_mode` | `string` | | +| `version_url_template` | `string` | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | ## Template ([info][templates])