Allow to provide custom query for get_captures_at_position
and get_captures_at_cursor
#20136
Labels
Milestone
get_captures_at_position
and get_captures_at_cursor
#20136
Feature already in Vim?
No response
Feature description
get_captures_at_position
andget_captures_at_cursor
functions are added in #20093. It looks like they can return only captures from highlighter. It would be useful to allow specifying custom query for cases where simpleget_node_at_cursor
is not enough. In this case I write a custom query for e.g. conditions what snippets can be expanded here, conditions for auto-pairs etc.The text was updated successfully, but these errors were encountered: