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 } ->