diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 19:35:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 19:35:39 +0800 |
commit | c85aedb1722becf9715bcc2475554745973872d7 (patch) | |
tree | 84af56100624b0d19e541e37cffbc11ecfcb94b0 /script | |
parent | 84b85c156fcdfe6925b9608044c21aa2a0075e67 (diff) | |
download | lua-language-server-c85aedb1722becf9715bcc2475554745973872d7.zip |
fix
Diffstat (limited to 'script')
-rw-r--r-- | script/core/semantic-tokens.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/semantic-tokens.lua b/script/core/semantic-tokens.lua index 47907d4d..ce869ed1 100644 --- a/script/core/semantic-tokens.lua +++ b/script/core/semantic-tokens.lua @@ -205,7 +205,7 @@ local function buildTokens(uri, results) local len = i * 5 - 5 tokens[len + 1] = deltaLine tokens[len + 2] = deltaStartChar - tokens[len + 3] = finishPos.character - startPos.character + 1 -- length + tokens[len + 3] = finishPos.character - startPos.character -- length tokens[len + 4] = source.type tokens[len + 5] = source.modifieres or 0 end |