summaryrefslogtreecommitdiff
path: root/test/tclient/tests/load-relative-library.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/tclient/tests/load-relative-library.lua')
-rw-r--r--test/tclient/tests/load-relative-library.lua13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/tclient/tests/load-relative-library.lua b/test/tclient/tests/load-relative-library.lua
index ad3ebb4a..2a2484d6 100644
--- a/test/tclient/tests/load-relative-library.lua
+++ b/test/tclient/tests/load-relative-library.lua
@@ -15,6 +15,11 @@ lclient():start(function (client)
client:initialize {
rootUri = furi.encode(workspacePath),
+ capabilities = {
+ workspace = {
+ configuration = true,
+ }
+ }
}
client:register('workspace/configuration', function ()
@@ -30,7 +35,13 @@ lclient():start(function (client)
util.saveFile(libraryFilePath, 'LIBRARY_FILE = true')
end
- client:initialize()
+ client:initialize {
+ capabilities = {
+ workspace = {
+ configuration = true,
+ }
+ }
+ }
client:notify('textDocument/didOpen', {
textDocument = {