Skip to content

Conversation

@FilipNikolovski
Copy link

@FilipNikolovski FilipNikolovski commented Oct 28, 2025

This update adapts the queries to the parser changes.

Fixes: #813

…sion

The parser structure has parentheses as children of the
arguments field within call_expression, not as direct children of
call_expression itself.

This update correctly wraps the parentheses and their contents
within the arguments node.

Fixes: nvim-treesitter#813
@kiyoon
Copy link
Collaborator

kiyoon commented Oct 30, 2025

It's because the master branch of nvim-treesitter is frozen, so the zig parser isn't updated. Thus this repo also uses the old syntax on the master branch, and it makes more sense to freeze the master branch and update queries on the main branch from now.

Can you open the PR on the main branch? Thank you

@FilipNikolovski FilipNikolovski deleted the fix_zig_call_arguments branch October 30, 2025 09:19
@FilipNikolovski
Copy link
Author

Here's the new PR: #819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when opening Zig file

2 participants