From 3498a06c568617ee43ab2e69f4e40914322ff078 Mon Sep 17 00:00:00 2001 From: Florian Verdonck Date: Fri, 24 Feb 2023 15:25:45 +0100 Subject: [PATCH] Update Fantomas.Client to 0.9.0 (#1062) --- paket.lock | 2 +- src/FsAutoComplete.Core/Commands.fs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paket.lock b/paket.lock index 9f22ee285..8115bfe4d 100644 --- a/paket.lock +++ b/paket.lock @@ -24,7 +24,7 @@ NUGET DiffPlex (>= 1.6.3) Expecto (>= 9.0.4) FSharp.Core (>= 4.6) - Fantomas.Client (0.7) + Fantomas.Client (0.9) FSharp.Core (>= 5.0.1) SemanticVersioning (>= 2.0.2) StreamJsonRpc (>= 2.8.28) diff --git a/src/FsAutoComplete.Core/Commands.fs b/src/FsAutoComplete.Core/Commands.fs index ddd87e177..47e14ecb4 100644 --- a/src/FsAutoComplete.Core/Commands.fs +++ b/src/FsAutoComplete.Core/Commands.fs @@ -433,7 +433,8 @@ module Commands = formatDocumentAsync { SourceCode = currentCode FilePath = filePath - Config = None } + Config = None + Cursor = None } match fantomasResponse with | { Code = 1; Content = Some code } ->