diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2023-06-05 09:52:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-05 09:52:36 +0900 |
| commit | 9ec2a6bbdae426fc093b71805e7929158ac09411 (patch) | |
| tree | 8827be971995cb215b5ef898a3ca38bf4ea865ad /queries/t32 | |
| parent | Update parsers: comment, usd (#4904) (diff) | |
| download | nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar.gz nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar.bz2 nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar.lz nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar.xz nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.tar.zst nvim-treesitter-9ec2a6bbdae426fc093b71805e7929158ac09411.zip | |
tests: fix failed tests (#4901)
fix failed tests for tiger, t32 and wgsl
Diffstat (limited to 'queries/t32')
| -rw-r--r-- | queries/t32/indents.scm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/queries/t32/indents.scm b/queries/t32/indents.scm index 60e2782fb..64ee3f571 100644 --- a/queries/t32/indents.scm +++ b/queries/t32/indents.scm @@ -6,7 +6,6 @@ ; Control flow statements ( (if_block - _* condition: (_) . (_) @_then) @indent.begin (#not-has-type? @_then block) @@ -20,17 +19,16 @@ ( (else_block (if_block - _* condition: (_) . (_) @_then)) @indent.branch (#not-has-type? @_then block) ) (while_block - (command_expression)) @indent.begin + (command_expression)) @indent.auto (repeat_block - (command_expression)) @indent.begin + (command_expression)) @indent.auto -(comment) @indent.ignore +(comment) @indent.auto |
