Skip to content

Commit

Permalink
Fix missing comment semantic tokens for string literals with escape s…
Browse files Browse the repository at this point in the history
…equences
  • Loading branch information
kralicky committed Apr 3, 2024
1 parent 76498a0 commit 7bc03e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/lsp/semantic.go
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,8 @@ func (s *semanticItems) inspectStringLiteralWithEscapeSequences(node *ast.String
node: node,
path: path,
})

s.mkcomments(node)
}

func (s *semanticItems) inspectFieldLiteral(node ast.Node, val *ast.ValueNode, path protopath.Path) {
Expand Down

0 comments on commit 7bc03e8

Please sign in to comment.