diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/client.lua | 1 | ||||
-rw-r--r-- | script/provider/diagnostic.lua | 2 | ||||
-rw-r--r-- | script/provider/semantic-tokens.lua | 2 | ||||
-rw-r--r-- | script/service/telemetry.lua | 4 | ||||
-rw-r--r-- | script/workspace/workspace.lua | 1 |
5 files changed, 4 insertions, 6 deletions
diff --git a/script/client.lua b/script/client.lua index 64a5cbef..0778c08d 100644 --- a/script/client.lua +++ b/script/client.lua @@ -120,6 +120,7 @@ function m.setConfig(changes, onlyMemory) finalChanges[#finalChanges+1] = change end end + change.uri = m.info.rootUri end if onlyMemory then return diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index 5d3b00ea..5e8926a8 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -286,7 +286,6 @@ local function askForDisable() key = 'Lua.diagnostics.workspaceDelay', action = 'set', value = delay * 1000, - uri = ws.uri, } } elseif item.title == lang.script.WINDOW_DISABLE_DIAGNOSTIC then @@ -295,7 +294,6 @@ local function askForDisable() key = 'Lua.diagnostics.workspaceDelay', action = 'set', value = -1, - uri = ws.uri, } } end diff --git a/script/provider/semantic-tokens.lua b/script/provider/semantic-tokens.lua index 567f80e2..4f2d8177 100644 --- a/script/provider/semantic-tokens.lua +++ b/script/provider/semantic-tokens.lua @@ -69,7 +69,7 @@ local function enable() key = 'editor.semanticHighlighting.enabled', action = 'set', value = true, - isGlobal = true, + global = true, } } end diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua index 978adee4..1ab3fdbe 100644 --- a/script/service/telemetry.lua +++ b/script/service/telemetry.lua @@ -135,7 +135,7 @@ function m.updateConfig() key = 'Lua.telemetry.enable', action = 'set', value = true, - isGlobal = true, + global = true, } } elseif item.title == disableTitle then @@ -144,7 +144,7 @@ function m.updateConfig() key = 'Lua.telemetry.enable', action = 'set', value = false, - isGlobal = true, + global = true, } } end diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 0f7d8103..b98face5 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -212,7 +212,6 @@ local function loadFileFactory(root, progressData, isLibrary) action = 'set', value = config.get 'Lua.workspace.maxPreload' + math.max(1000, config.get 'Lua.workspace.maxPreload'), - uri = m.uri, } } end |