mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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:
parent
8cf90f81a4
commit
e0e6d1b263
1 changed files with 1 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
[
|
||||
(transaction)
|
||||
(heading)
|
||||
] @fold
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue