Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,12 @@ type AdaptiveFSharpLspServer
| None -> p.RootPath

let projs =
match p.RootPath, c.AutomaticWorkspaceInit with
match actualRootPath, c.AutomaticWorkspaceInit with
| None, _
| _, false -> state.WorkspacePaths
| Some actualRootPath, true ->
| Some rootPath, true ->
let peeks =
WorkspacePeek.peek
actualRootPath
c.WorkspaceModePeekDeepLevel
(c.ExcludeProjectDirectories |> List.ofArray)
WorkspacePeek.peek rootPath c.WorkspaceModePeekDeepLevel (c.ExcludeProjectDirectories |> List.ofArray)
|> List.map Workspace.mapInteresting
|> List.sortByDescending (fun x ->
match x with
Expand Down