Skip to content

Commit

Permalink
Omit solution path from 'csharp' settings when not set
Browse files Browse the repository at this point in the history
  • Loading branch information
vytautassurvila committed Aug 6, 2023
1 parent 8068771 commit bd009b5
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 bd009b5

Please sign in to comment.