Skip to content

Commit

Permalink
Merge pull request #105 from vytautassurvila/omit-missing-solution-path
Browse files Browse the repository at this point in the history
Omit solution path from 'csharp' settings when not set
  • Loading branch information
razzmatazz authored Aug 12, 2023
2 parents 8068771 + bd009b5 commit 54f8426
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CSharpLanguageServer/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,11 @@ let setupServerHandlers settings (lspClient: LspClient) =

match csharpSettingsMaybe with
| Some csharpSettings ->
Some { scope.State.Settings with SolutionPath = csharpSettings.solution }

match csharpSettings.solution with
| Some solutionPath-> Some { scope.State.Settings with SolutionPath = Some solutionPath }
| _ -> None

| _ -> None
| _ -> None

Expand Down

0 comments on commit 54f8426

Please sign in to comment.