Skip to content

Commit

Permalink
Add TODO(#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbaldry committed Oct 17, 2021
1 parent 777e403 commit 84e0f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symbols.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func analyseSymbols(n ast.Node) (symbols []protocol.DocumentSymbol) {
// Adding five (five minus the one for zero indexing plus one for a space) to the location range of the local
// symbol gets closer to the real location but any amount of whitespace could be inbetween.
// Assuming a single space, this works perfectly.
// TODO: Understand why identifiers in local function binds are missing.
// TODO(#7): Understand why identifiers in local function binds are missing.
if bind.LocRange.Begin.Line == 0 {
binds[i].Range = protocol.Range{
Start: protocol.Position{Line: uint32(n.Loc().Begin.Line - 1), Character: uint32(n.Loc().Begin.Column + 5)},
Expand Down

0 comments on commit 84e0f6f

Please sign in to comment.