summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/semantic-tokens.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/semantic-tokens.lua b/script/core/semantic-tokens.lua
index 6163cbbe..bb6282a4 100644
--- a/script/core/semantic-tokens.lua
+++ b/script/core/semantic-tokens.lua
@@ -849,7 +849,7 @@ return function (uri, start, finish)
end
if #results == 0 then
- return nil
+ return {}
end
results = solveMultilineAndOverlapping(state, results)