diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-15 20:59:40 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-15 20:59:40 +0800 |
commit | 48cd25965a936f24d1466e720db125e9d2a177e5 (patch) | |
tree | 0de4632015ee87a276fc1b9f843209e3eba7d4a6 /script/provider | |
parent | bfb7d2eb7b846888d34a24810eaf6943d618b233 (diff) | |
download | lua-language-server-48cd25965a936f24d1466e720db125e9d2a177e5.zip |
fix #601
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/diagnostic.lua | 2 | ||||
-rw-r--r-- | script/provider/semantic-tokens.lua | 2 |
2 files changed, 1 insertions, 3 deletions
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 |