Skip to content

Commit

Permalink
Generate namespace semantic tokens for submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
jurica-bradaric authored and jbradaric committed Sep 15, 2023
1 parent fa4c62b commit 7fdd01f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ export class SemanticTokensWalker extends ParseTreeWalker {
this._addItem(node.memberName.start, node.memberName.length, SemanticTokenTypes.class, []);
break;
}

case TypeCategory.Module:
this._addItem(node.memberName.start, node.memberName.length, SemanticTokenTypes.namespace, []);
break;
// fallthrough

default:
Expand Down

0 comments on commit 7fdd01f

Please sign in to comment.