UserNobody14 / tree-sitter-dart

Attempt to make a tree-sitter grammar for dart
MIT License
62 stars 40 forks source link

Folds query #37

Closed victorlacorte closed 1 year ago

victorlacorte commented 1 year ago

Sorry if this repo is not the place to ask the following, but could we add a queries/folds.scm to improve nvim-treesitter folding? Right now, since there isn't such file, we are falling back to the @scope captures in the locals query and folding capabilities are limited.

akinsho commented 1 year ago

This issue should be opened with nvim-treesitter not here since that is where folds for neovim actually come from

victorlacorte commented 1 year ago

Thank you, @akinsho! I'll do that and close this issue.