Update lsp to have set root path

This commit is contained in:
nub31
2025-11-05 15:53:08 +01:00
parent d3822bc9b4
commit c3d64c4ea9
5 changed files with 74 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ public class WorkspaceManager(DiagnosticsPublisher diagnosticsPublisher)
private readonly Dictionary<string, List<TopLevelNode>> _possiblyOutdatedTopLevelNodes = [];
private ModuleRepository _repository = new([]);
public void Init(string rootPath)
public void SetRootPath(string rootPath)
{
_rootPath = rootPath;
Update();