mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-26 10:31:20 -08:00
feat: dotnet section visible when *.slnf files present
This commit is contained in:
parent
4c0db9e66e
commit
62b97ff2e3
|
@ -30,7 +30,7 @@ Display the currently active .NET SDK version.
|
|||
- missing_command_text: `string` - text to display when the command is missing - defaults to empty
|
||||
- display_mode: `string` - determines when the segment is displayed
|
||||
- `always`: the segment is always displayed
|
||||
- `files`: the segment is only displayed when `*.cs`, `*.vb`, `*.fs`, `*.fsx`, `*.sln`, `*.csproj`, `*.vbproj`,
|
||||
- `files`: the segment is only displayed when `*.cs`, `*.vb`, `*.fs`, `*.fsx`, `*.sln`, `*.slnf`, `*.csproj`, `*.vbproj`,
|
||||
or `*.fsproj` files are present (default)
|
||||
- version_url_template: `string` - A go text/template [template][templates] that creates the changelog URL
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ func (d *Dotnet) Init(props properties.Properties, env environment.Environment)
|
|||
d.language = language{
|
||||
env: env,
|
||||
props: props,
|
||||
extensions: []string{"*.cs", "*.csx", "*.vb", "*.sln", "*.csproj", "*.vbproj", "*.fs", "*.fsx", "*.fsproj", "global.json"},
|
||||
extensions: []string{"*.cs", "*.csx", "*.vb", "*.sln", "*.slnf", "*.csproj", "*.vbproj", "*.fs", "*.fsx", "*.fsproj", "global.json"},
|
||||
commands: []*cmd{
|
||||
{
|
||||
executable: "dotnet",
|
||||
|
|
Loading…
Reference in a new issue