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 Aug 31, 2023
1 parent 8f2e392 commit 0a09d34
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 0a09d34

Please sign in to comment.