diff options
Diffstat (limited to 'script/provider/semantic-tokens.lua')
-rw-r--r-- | script/provider/semantic-tokens.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/provider/semantic-tokens.lua b/script/provider/semantic-tokens.lua index f6acb280..b867359f 100644 --- a/script/provider/semantic-tokens.lua +++ b/script/provider/semantic-tokens.lua @@ -110,6 +110,10 @@ local function refresh() end config.watch(function (uri, key, value, oldValue) + if key == '' then + key = 'Lua.color.mode' + value = config.get(uri, key) + end if key == 'Lua.color.mode' then if value == 'Semantic' or value == 'SemanticEnhanced' then if isEnable and value ~= oldValue then |