mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 22:10:01 -04:00
Problem: I have very big BUILD files I want to navigate quickly. I have Telescope, so I can use `:Telescope treesitter` for an outline, but build targets aren't emitted as definitions. Solution: Add a query that catches build targets. One thing I'm unclear on is: - I want to filter to just build targets. - Build targets are absolutely not any of the mentioned types in the CONTRIBUTING file. - Build targets do not actually create identifiers in buck2/bazel: they create objects which are observable to the outside world and which the user generally *cares* about, but they aren't in the same namespace as normal identifiers. This means that they *especially* don't fit into any of the existing categories. I would like guidance as to whether this is the right approach. |
||
|---|---|---|
| .. | ||
| queries | ||