Add headers as an option to fold on (#1873)

* Add headers as an option to fold on

treesitter-beancount added grammar rules around orgmode and markdown
headers so that they are recognized in beancount documents. This change
makes it so that they will be taken into consideration when folding
text.

Commit: 79ae7c1f26

* Fix node name for headers

The correct name for the header nodes is heading.
This commit is contained in:
Stephen Bolton 2021-10-01 23:08:44 -06:00 committed by GitHub
parent 8cf90f81a4
commit e0e6d1b263
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
[
(transaction)
(heading)
] @fold