summaryrefslogtreecommitdiff
path: root/server/src/method
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/method')
-rw-r--r--server/src/method/initialized.lua5
-rw-r--r--server/src/method/workspace/didChangeConfiguration.lua5
2 files changed, 10 insertions, 0 deletions
diff --git a/server/src/method/initialized.lua b/server/src/method/initialized.lua
index 05abffd7..47b924d0 100644
--- a/server/src/method/initialized.lua
+++ b/server/src/method/initialized.lua
@@ -51,11 +51,16 @@ return function (lsp)
{
scopeUri = uri,
section = 'files.associations',
+ },
+ {
+ scopeUri = uri,
+ section = 'files.exclude',
}
},
}, function (configs)
lsp:onUpdateConfig(configs[1], {
associations = configs[2],
+ exclude = configs[3],
})
initAfterConfig(lsp, firstScope)
end)
diff --git a/server/src/method/workspace/didChangeConfiguration.lua b/server/src/method/workspace/didChangeConfiguration.lua
index d5008954..ecaa9182 100644
--- a/server/src/method/workspace/didChangeConfiguration.lua
+++ b/server/src/method/workspace/didChangeConfiguration.lua
@@ -12,11 +12,16 @@ return function (lsp)
{
scopeUri = uri,
section = 'files.associations',
+ },
+ {
+ scopeUri = uri,
+ section = 'files.exclude',
}
},
}, function (configs)
lsp:onUpdateConfig(configs[1], {
associations = configs[2],
+ exclude = configs[3],
})
end)
end