Simplify semantic_tokens, fix off-by-one error in identifierFromPosition

This commit is contained in:
Jonathan Hähne
2021-05-02 19:15:31 +02:00
parent 82bb1911b1
commit 807bd6a571
4 changed files with 147 additions and 237 deletions

View File

@@ -2435,7 +2435,7 @@ pub const DocumentScope = struct {
\\--------------------------
\\Scope {}, range: [{d}, {d})
\\ {d} usingnamespaces
\\Decls:
\\Decls:
, .{
scope.data,
scope.range.start,