Commit graph

3 commits

Author SHA1 Message Date
Jongwook Choi
1a04759d91 folds(yaml): Fold at the entire node, not at the body. 2022-10-16 16:06:09 -07:00
Santos Gallegos
bfcf03853f Yaml: fix folds
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/887

(block_node) includes more nodes to fold, test with:

```yaml
days:
  Monday:
    - test: example
  Tuesday:
    - test: example
  Wednesday:
    - test: example
    - test: example
  Thursday:
    - test: example
  Friday:
    - test: example
    - foo: |
        One
        Two
        Three
```
2021-02-07 15:37:21 +01:00
elianiva
842077acf7 feat: added more fold queries 2021-01-04 11:51:23 +01:00