Skip to content

Commit

Permalink
Customize the options used by the language server less (#5045)
Browse files Browse the repository at this point in the history
Customize the options used by the language server less, by relying on
fewer defaults

<small>By submitting this pull request, I confirm that my contribution
is made under the terms of the [MIT
license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
  • Loading branch information
keyboardDrummer authored Feb 5, 2024
1 parent d24172f commit 16e0590
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/DafnyLanguageServer/LanguageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ related locations

public static void ConfigureDafnyOptionsForServer(DafnyOptions dafnyOptions) {
dafnyOptions.Set(DafnyConsolePrinter.ShowSnippets, true);
dafnyOptions.PrintIncludesMode = DafnyOptions.IncludesModes.None;

// TODO This may be subject to change. See Microsoft.Boogie.Counterexample
// A dash means write to the textwriter instead of a file.
// https://github.com/boogie-org/boogie/blob/b03dd2e4d5170757006eef94cbb07739ba50dddb/Source/VCGeneration/Couterexample.cs#L217
dafnyOptions.ModelViewFile = "-";
}

public static async Task Start(DafnyOptions dafnyOptions) {
Expand Down

0 comments on commit 16e0590

Please sign in to comment.