Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 8ae8129

Browse files
jakebaileyMikhail Arkhipov
authored and
Mikhail Arkhipov
committed
Send root URI as workspace/configuration scope (#1786)
(cherry picked from commit 2b1bd33)
1 parent db4159b commit 8ae8129

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/LanguageServer/Impl/LanguageServer.Lifetime.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,10 @@ private async Task<JToken> GetPythonConfigurationAsync(CancellationToken cancell
7474
}
7575
var args = new ConfigurationParams {
7676
items = new[] {
77-
new ConfigurationItem { section = "python" }
77+
new ConfigurationItem {
78+
scopeUri = _initParams.rootUri,
79+
section = "python"
80+
}
7881
}
7982
};
8083
var configs = await _rpc.InvokeWithParameterObjectAsync<JToken>("workspace/configuration", args, cancellationToken);

0 commit comments

Comments
 (0)