nvim-treesitter/lua
Stephan Seitz 994e42fac4 Fix: avoid overwriting tables in insert_to_path
The following query will result in matches with only one node though it
requires two nodes to be a match.

```scheme
(function_definition
 (comment) @function.inner.start
  body: (block) @function.inner)
```
Why? First `insert_to_path` is called for `@function.inner.start` which
will result int the following table.

```lua
{ function = { inner = { start { node } } } }
```
`insert_to_path` will overwrite the result
```lua
{ function = { inner = { node  } } }
```

Related #552
2020-10-16 13:48:59 +02:00
..
nvim-treesitter Fix: avoid overwriting tables in insert_to_path 2020-10-16 13:48:59 +02:00
nvim-treesitter.lua Use utils get_node_text to get line content and trim all whitespaces. 2020-10-11 13:35:18 +02:00