mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
so that methods like these are correctly highlighted
```cpp
class A {
class B {
void foo();
};
};
void A::B::foo() {
// ^^^
}
```
This only increases the nesting level by one.
AFAIK abritrary nesting is difficult to do with current queries.
But this nesting is a pretty common case
|
||
|---|---|---|
| .. | ||
| folds.scm | ||
| highlights.scm | ||
| indents.scm | ||
| injections.scm | ||
| locals.scm | ||