From 73ab590c4420e051afba4a501c1dcb4fb99baeec Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Mon, 13 Oct 2025 13:27:15 +1300 Subject: Fix initial indentation when printing semantic tokens Al non-macro-definition semantic tokens were being printed starting from indentation level zero, instead of from the provided indentation value. --- src/stages/semantic_tokens.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stages/semantic_tokens.rs b/src/stages/semantic_tokens.rs index bdbc0f9..ab50fb1 100644 --- a/src/stages/semantic_tokens.rs +++ b/src/stages/semantic_tokens.rs @@ -204,7 +204,7 @@ pub fn print_semantic_token(i: usize, token: &SemanticToken) { } } } - SemanticToken::BlockToken(block) => print_block_token(0, block), + SemanticToken::BlockToken(block) => print_block_token(i, block), } } -- cgit v1.2.3-70-g09d2