Skip to content

Commit

Permalink
fix(position type): fixed matching for project file includes
Browse files Browse the repository at this point in the history
Now supports single line arrays as well.
For example: file: ["/file", "/second"]
  • Loading branch information
alesbrelih committed Jan 16, 2025
1 parent 0829e03 commit 29cc319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitlab_ci_ls_parser/treesitter_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ impl TreesitterQueries {
block_mapping(
block_mapping_pair
key: (flow_node(plain_scalar(string_scalar)@file_key))
value: [(block_node(block_sequence(block_sequence_item(flow_node)@file_value)))(flow_node)@file_value]
value: [(block_node(block_sequence(block_sequence_item(flow_node)@file_value)))(flow_node(flow_sequence(flow_node)@file_value))(flow_node([(double_quote_scalar)(single_quote_scalar)(plain_scalar)]))@file_value]
)
)
]
Expand Down

0 comments on commit 29cc319

Please sign in to comment.